Skip to content

Commit

Permalink
153 pipestoskesmass study (#155)
Browse files Browse the repository at this point in the history
* update pipestokesmass #153

* add report from heatfluid toolbox #136

* add imagesprefix support for #153 as described in #144
  • Loading branch information
jobinhio authored Mar 22, 2023
1 parent 9dad30e commit ec0cfac
Show file tree
Hide file tree
Showing 4 changed files with 1,320 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -29,9 +47,9 @@
},
"BoundaryConditions":
{
"velocity":
"fluid":
{
"Dirichlet":
"velocity":
{
"inlet":
{
Expand All @@ -45,10 +63,7 @@
{
"expr":"{0,0}"
}
}
},
"fluid":
{
},
"outlet":
{
"outlet":
Expand All @@ -57,9 +72,9 @@
}
}
},
"temperature":
"heat":
{
"Dirichlet":
"temperature":
{
"inlet":
{
Expand Down Expand Up @@ -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":
{
}
}

Expand Down
6 changes: 5 additions & 1 deletion examples/modules/heatfluid/pages/pipestokesmass/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ JARAIB Raoua [email protected]

: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

Expand All @@ -25,6 +27,8 @@ Copy case option to clipboard
</button>
++++


NOTE: The report of the execution of the command above is available xref:pipestockesmass/heatfluid-informations.adoc[here].
== Data files
=== Json file

Expand All @@ -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
Expand Down
Loading

0 comments on commit ec0cfac

Please sign in to comment.