Skip to content

Commit

Permalink
152 turekkhron study (#154)
Browse files Browse the repository at this point in the history
* update TureKhron #152

* add report from heatfluid toolbox #136

* add imagesprefix support for #152 as described in #144
  • Loading branch information
jobinhio authored Mar 22, 2023
1 parent 14e11a3 commit 9dad30e
Show file tree
Hide file tree
Showing 4 changed files with 1,304 additions and 21 deletions.
6 changes: 3 additions & 3 deletions examples/modules/heatfluid/examples/TurekHron/TurekHron.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ directory=toolboxes/heatfluid/TurekHron/
case.dimension=2

[heat-fluid]
mesh.filename=$cfgdir/cfd.geo
gmsh.hsize=0.03#0.01#0.01#0.03#0.02
# mesh.filename=$cfgdir/cfd.geo
# gmsh.hsize=0.03#0.01#0.01#0.03#0.02

filename=$cfgdir/TurekHron.json
json.filename=$cfgdir/TurekHron.json

snes-monitor=true

Expand Down
46 changes: 29 additions & 17 deletions examples/modules/heatfluid/examples/TurekHron/TurekHron.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
{
"Name": "Fluid Mechanics",
"ShortName":"Fluid",
"Metadata":
{
"version": "1",
"author": ["vincentchabannes","prudhomm","lberti","jobinhio"],
"date": "23/09/2022",
"references":[""]
},
"Models":
{
"use-model-name":1,
Expand All @@ -10,6 +17,17 @@
"equations":"Navier-Stokes"
}
},
"Meshes":
{
"heatfluid":
{
"Import":
{
"filename":"$cfgdir/cfd.geo",
"hsize":"0.03"
}
}
},
"Parameters":
{
"ubar":"2",
Expand All @@ -29,9 +47,9 @@
// tag::bc[]
"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 @@ -92,17 +107,14 @@
"PostProcess":
{
"use-model-name":1,
"heat-fluid":
"heatfluid":
{
// tag::fields[]
"Exports":
{
"fields":["fluid.velocity","fluid.pressure","heat.temperature","fluid.pid"]
}
},
// end::fields[]
},
"fluid":
{
// tag::measures[]
"Measures":
{
Expand All @@ -120,11 +132,11 @@
"fields":"pressure"
}
}
}
},
// end::measures[]
},
"heat":
{
"heat":
{
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion examples/modules/heatfluid/pages/TurekHron/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
:uri-data: https://github.com/feelpp/toolbox/blob/master/examples/modules/{toolbox}/examples
:uri-data-edit: https://github.com/feelpp/toolbox/edit/master/examples/modules/{toolbox}/examples

:imagesprefix:
ifdef::env-github,env-browser,env-vscode[:imagesprefix: ../../assets/images/]
We consider the forced convection of an heat source at the entrance of a channel with a cylinder inside.

== Running the case
Expand All @@ -27,6 +29,7 @@ Copy case option to clipboard
</button>
++++

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

The case data files are available in Github link:{uri-data}/rotating-winch/[here]
Expand All @@ -44,7 +47,7 @@ the rectangle stem:[ \lbrack 0,Long \rbrack \times \lbrack 0,Haut \rbrack ]. It

[[ImageModelingCFDTurekHronGeometry]]
.Geometry of the Turek & Hron HeatFluid Benchmark
image::TurekHron/TurekHronCFDGeometry.png[alt="TurekHron Geometry",align="center"]
image:{imagesprefix}TurekHron/TurekHronCFDGeometry.png[alt="TurekHron Geometry",align="center"]


In order to describe the flow, the incompressible Navier-Stokes model is chosen for this case, define by the conservation of momentum equation and the conservation of mass equation. At them, we add the material constitutive equation, that help us to define stem:[\boldsymbol{\sigma}_f]
Expand Down
Loading

0 comments on commit 9dad30e

Please sign in to comment.