diff --git a/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.cfg b/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.cfg index 72298c2b..0b178520 100644 --- a/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.cfg +++ b/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.cfg @@ -4,10 +4,10 @@ directory=toolboxes/heatfluid/pipestokes_mass/P1-P2P1 case.dimension=2 [heat-fluid] -mesh.filename=$cfgdir/pipestokes_mass.geo -gmsh.hsize=0.03#0.01#0.01#0.03#0.02 +# mesh.filename=$cfgdir/pipestokes_mass.geo +# gmsh.hsize=0.03#0.01#0.01#0.03#0.02 -filename=$cfgdir/pipestokes_mass.json +json.filename=$cfgdir/pipestokes_mass.json snes-monitor=true diff --git a/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.json b/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.json index 9e2047c9..091a2944 100644 --- a/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.json +++ b/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.json @@ -2,14 +2,32 @@ { "Name": "Fluid Mechanics", "ShortName":"Fluid", + "Metadata": + { + "version": "1", + "author": ["vincentchabannes","prudhomm","lberti","jobinhio"], + "date": "23/09/2022", + "references":[""] + }, "Models": { - "use-model-name":1, + // "use-model-name":1, "fluid": { "equations":"Stokes" } }, + "Meshes": + { + "heatfluid": + { + "Import": + { + "filename":"$cfgdir/pipestokes_mass.geo", + "hsize":"0.03" + } + } + }, "Parameters": { "ubar":"1.0", @@ -29,9 +47,9 @@ }, "BoundaryConditions": { - "velocity": + "fluid": { - "Dirichlet": + "velocity": { "inlet": { @@ -45,10 +63,7 @@ { "expr":"{0,0}" } - } - }, - "fluid": - { + }, "outlet": { "outlet": @@ -57,9 +72,9 @@ } } }, - "temperature": + "heat": { - "Dirichlet": + "temperature": { "inlet": { @@ -90,36 +105,36 @@ }, "PostProcess": { - "use-model-name":1, - "heat-fluid": + // "use-model-name":1, + "heatfluid": { "Exports": { "fields":["fluid.velocity","fluid.pressure","heat.temperature","fluid.pid"] - } - }, - "fluid": - { - "Measures": + }, + "fluid": { - "Forces":"wall2", - "Points": + "Measures": { - "pointA": + "Forces":"wall2", + "Points": { - "coord":"{0.6,0.2,0}", - "fields":"pressure" - }, - "pointB": - { - "coord":"{0.15,0.2,0}", - "fields":"pressure" + "pointA": + { + "coord":"{0.6,0.2,0}", + "fields":"pressure" + }, + "pointB": + { + "coord":"{0.15,0.2,0}", + "fields":"pressure" + } } } + }, + "heat": + { } - }, - "heat": - { } } diff --git a/examples/modules/heatfluid/pages/pipestokesmass/README.adoc b/examples/modules/heatfluid/pages/pipestokesmass/README.adoc index 7a197940..cb6c48f3 100644 --- a/examples/modules/heatfluid/pages/pipestokesmass/README.adoc +++ b/examples/modules/heatfluid/pages/pipestokesmass/README.adoc @@ -5,6 +5,8 @@ JARAIB Raoua jaraibrawaa@gmail.com :uri-data: https://github.com/raouajaraib/toolbox/blob/master/examples/modules/heatfluid/examples :uri-data-edit: https://github.com/raouajaraib/toolbox/edit/master/examples/modules/heatfluid/examples +:imagesprefix: +ifdef::env-github,env-browser,env-vscode[:imagesprefix: ../../assets/images/] == Running the model @@ -25,6 +27,8 @@ Copy case option to clipboard ++++ + +NOTE: The report of the execution of the command above is available xref:pipestockesmass/heatfluid-informations.adoc[here]. == Data files === Json file @@ -40,7 +44,7 @@ Copy case option to clipboard We consider a 2D model representative of a laminar incompressible flow around an obstacle. The flow domain, named stem:[\Omega_f], is contained into the rectangle stem:[ \lbrack 0,Long \rbrack \times \lbrack 0,Haut \rbrack ]. It is characterised, in particular, by its dynamic viscosity stem:[\mu_f] and by its density stem:[\rho_f]. -image::pipestokes_mass/newfigure.png[alt="Pipestokes Geometry",align="center"] +image:{imagesprefix}pipestokes_mass/newfigure.png[alt="Pipestokes Geometry",align="center"] The goal of this benchmark is to couple the Stockes equations and the Concentration equations. + we remind that the Stokes equation are diff --git a/examples/modules/heatfluid/pages/pipestokesmass/heatfluid-informations.adoc b/examples/modules/heatfluid/pages/pipestokesmass/heatfluid-informations.adoc new file mode 100644 index 00000000..6ec8b8db --- /dev/null +++ b/examples/modules/heatfluid/pages/pipestokesmass/heatfluid-informations.adoc @@ -0,0 +1,1268 @@ +:sectnums: += Toolbox : heatfluid +== Environment + +[cols="2"] +|=== +<|prefix +<|heat-fluid + +<|keyword +<|heatfluid + +<|root repository +<|/home/congo/feelppdb/toolboxes/heatfluid/pipestokes_mass/P1-P2P1/np_1 + +<|number of processus +<|1 +|=== + +== Materials Properties + +[cols="2"] +|=== +<|number of materials +<|1 +|=== + +=== Material : Fluid + +[cols="5",options="header"] +|=== +<|Name +<|Expression +<|Symbol +<|Shape +<|Components + +<|density +<|1.0 +<|materials_Fluid_rho +<|scalar +<| + +<|dynamic-viscosity +<|1.0 +<|materials_Fluid_mu +<|scalar +<| + +<|specific-heat-capacity +<|1.0 +<|materials_Fluid_Cp +<|scalar +<| + +<|thermal-conductivity +<|0.0024 +<|materials_Fluid_k +<|scalar +<| +|=== + + +== Meshes +=== Mesh : heatfluid + +[cols="2"] +|=== +<|Discretization +<|/Mesh/heatfluid + +<|filename +<|/home/congo/feelppdb/toolboxes/heatfluid/pipestokes_mass/P1-P2P1/np_1/heatfluid.mesh.msh +|=== + +==== Import configuration + +[cols="2"] +|=== +<|geo-filename +<|/home/congo/Bureau/toolbox/examples/modules/heatfluid/examples/pipestockes_mass/pipestokes_mass.geo + +<|hsize +<|3.000000e-02 + +<|generate-partitioning +<|0 +|=== + +==== Discretization + +[cols="2"] +|=== +<|dim +<|2 + +<|h_average +<|3.022240e-02 + +<|h_max +<|4.103760e-02 + +<|h_min +<|2.307346e-02 + +<|n_elements +<|13036 + +<|n_faces +<|19755 + +<|n_partition +<|1 + +<|n_points +<|6720 + +<|order +<|1 + +<|real_dim +<|2 + +<|shape +<|Simplex_2_1_2 +|=== + + + + +== Toolbox Heat +=== Environment + +[cols="2"] +|=== +<|prefix +<|heat-fluid.heat + +<|keyword +<|heat + +<|root repository +<|/home/congo/feelppdb/toolboxes/heatfluid/pipestokes_mass/P1-P2P1/np_1 + +<|number of processus +<|1 +|=== + +=== Physics +==== heat +===== default + +[cols="2"] +|=== +<|modeling +<|heat + +<|type +<|heat + +<|name +<|default +|=== + + +[cols="2"] +|=== +<|Equation +<|u dot nabla T - div( k grad T ) = 0 +|=== + +====== Convection + +[cols="2"] +|=== +<|expr +<|{fluid_U_0,fluid_U_1} +|=== + +====== Parameters + +[cols="5",options="header"] +|=== +<|Name +<|Expression +<|Symbol +<|Shape +<|Components + +<|convection +<|{fluid_U_0,fluid_U_1} +<|physics_heat_default_convection +<|vectorial [2] +0.15)+(293.15)*(y>0.499999999) + +<|markers +