Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

153 pipestoskesmass study #155

Merged
merged 3 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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