CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   FLUENT mesh in OpenFOAM (

novice November 19, 2012 18:34

FLUENT mesh in OpenFOAM
Hi All,

I would like to simulate a mesh from Ansys-FLUENT in OPenFOAM. I would like to run a Turbulen flow simulation in a closed vessel with in and outlets. Can somebody please guide me how to and where to define the boundary conditions (like inlet velocity, material properties, temperature settings etc.) I have checked for examples in the OpenFOAM tutorials, but didn't find one. Probably didn't search at the right place. It is really urgent for me. please throw some light on my problem.

Thanks in advance.

emil November 20, 2012 08:11


first you inport your mesh with fluentMeshtoFoam command and then you get the mesh created in the folder constant/polymesh. There you can check if all the boundaries are ok. If so set the boundary conditions in 0 folder according to the names of the boundaries as in any tutorial.

Hope that helps

Lieven November 20, 2012 08:50

1. Start by selecting the appropriate solver for your case ( and turbulence model you will use.

2. Search for a tutorial that uses this solver and copy the full directory to the directory where you want to run your case. If there is more than one tutorial available, select the one which is most similar to your case (e.g. uses the same turbulence model, similar boundaries, ...).

3. remove all files in the constant/polymesh dir and copy your mesh-file to the case folder. As Emil suggests, you can import the mesh using the fluentMeshToFoam tool. Do not neglect to run checkMesh afterwards.

4. You can set the boundary conditions in the files 0/U, 0/p, etc. ( and specify the solver and simulation properties with the files in the system folder (

If there is anything which is not clear, feel free to post it

novice November 23, 2012 06:17

Thnks you Emil and Lieven.....i will try what you have suggested and let u know the outcome.



All times are GMT -4. The time now is 03:14.