

How to define Inlet and Outlet for a pipe before meshing and simulating in OpenFOAM?
Hi everyone,
I've been trying to run a laminar flow case in a pipe consisting of cylindrical particles. I use blender to create my geometry and export the .stl files to my OpenFOAM case. I define inlet and outlet faces before exporting the stl files in blender. But OpenFOAM doesn't seem to recognize that. Kindly help me on what to do about this. Thank you.
Regards,
Lakshmi
OpenFOAM


Export the boundaries as separate stlfiles. Correlate the stl with the boundary name of choice in openFoam through snappyHexMeshDict. Example:
More information can be found here: https://cfd.direct/openfoam/user-guide/v8-snappyhexmesh/ Regards Ashuthosh CFD-Team, FOSSEE
geometry
{
pipeWall.stl //name of the stl
{
type triSurfaceMesh;
name pipeWall; //name you have picked to be used in openfoam
}
outlet.stl
{
type triSurfaceMesh;
name outlet;
}
inlet.stl
{
type triSurfaceMesh;
name inlet;
}
};


Very informative article! There's a lot of information here on poppy playtime that can help anyone get started with a successful social media campaign.
Thank you for the reply. Any idea on how to export vertices as separate .stl files in blender? Kindly let know.
29-06-22, 7:45 p.m. LakshmiIC35134
You need to export the faces here.
In order to export them as separate .stlfiles, you need to declare them as individual objects. To do so:
To export into separate STLs:
Please make sure to remove the first line inside the.stl (solid exported from Blender*) file to prevent possible errors.
Regards,
Ashuthosh
18-07-22, 11:21 a.m. Ashuthosh
Login to add comment