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

132 backwardstep examples #164

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
10 changes: 6 additions & 4 deletions examples/modules/cfd/examples/backwardstep/backwardstep2d.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
directory=toolboxes/fluid/backwardfacingstep/2d/P2P1G1
directory=toolboxes/fluid/backwardstep/2d/P2P1G1

case.dimension=2

[fluid]
filename=$cfgdir/cfd2d.json
filename=$cfgdir/backwardstep2d.json

mesh.filename=$cfgdir/step-elmann-2009.geo
gmsh.hsize=0.05
# mesh.filename=$cfgdir/step-elmann-2009.geo
# gmsh.hsize=0.05
gmsh.geo-variables-list=L=5:dim=2
# geo-variables-list=L=10:dim=2

Expand Down
42 changes: 32 additions & 10 deletions examples/modules/cfd/examples/backwardstep/backwardstep2d.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
{
"Name": "Backward Facing Step 2d",
"ShortName":"backwardfacingstep2d",
"Metadata":
{
"version": "1",
"author": [""],
"date": "23/09/2022",
"references":[""]
},
"Models":
{
"equations":"Navier-Stokes"
"fluid":
{
"equations":"Navier-Stokes"
}

},
"Meshes":
{
"fluid":
{
"Import":
{
"filename":"$cfgdir/step-elmann-2009.geo",
"hsize":0.05
}
}
},
"Materials":
{
Expand All @@ -17,9 +39,9 @@
},
"BoundaryConditions":
{
"velocity":
"fluid":
{
"Dirichlet":
"velocity":
{
"inlet":
{
Expand All @@ -29,10 +51,7 @@
{
"expr":"{0,0}"
}
}
},
"fluid":
{
},
"outlet":
{
"outlet":
Expand All @@ -44,10 +63,13 @@
},
"PostProcess":
{
"Exports":
"fluid":
{
"fields":["velocity","pressure","pid"]
"Exports":
{
"fields":["velocity","pressure","pid"]
}
}
}

}
}
4 changes: 2 additions & 2 deletions examples/modules/cfd/examples/backwardstep/backwardstep3d.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ discretization=P2P1G1
[fluid]
filename=$cfgdir/backwardstep3d.json

mesh.filename=$cfgdir/step-elmann-2009.geo
gmsh.hsize=0.2#0.1#0.15#0.2
# mesh.filename=$cfgdir/step-elmann-2009.geo
# gmsh.hsize=0.2#0.1#0.15#0.2
gmsh.geo-variables-list=L=5:dim=3
# gmsh.geo-variables-list=L=10:dim=3

Expand Down
46 changes: 34 additions & 12 deletions examples/modules/cfd/examples/backwardstep/backwardstep3d.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
{
"Name": "Backward Facing Step 3d",
"ShortName":"backwardfacingstep3d",
"Metadata":
{
"version": "1",
"author": [""],
"date": "23/09/2022",
"references":[""]
},
"Models":
{
"equations":"Navier-Stokes"
"fluid":
{
"equations":"Navier-Stokes"
}
},
"Meshes":
{
"fluid":
{
"Import":
{
"filename":"$cfgdir/step-elmann-2009.geo",
"hsize":0.2
}
}
},
"Materials":
{
Expand All @@ -18,9 +39,9 @@
},
"BoundaryConditions":
{
"velocity":
"fluid":
{
"Dirichlet":
"velocity":
{
"inlet":
{
Expand All @@ -30,24 +51,25 @@
{
"expr":"{0,0,0}"
}
}
},
"fluid":
},
"outlet":
{
"outlet":
{
"outlet":
{
"expr":"0"
}
"expr":"0"
}
}
}

},
"PostProcess":
{
"Exports":
"fluid":
{
"fields":["velocity","pressure","pid"]
"Exports":
{
"fields":["velocity","pressure","pid"]
}
}
}

Expand Down