foamMeshToFluent & foamDataToFluent with multi-region meshes
Hi all,
I have 5 fluid domains. Each fluid domain exported individually from ansys mesh (as .msh file). For creating boundary face between the domains, i have exported individually from .msh and run it in openfoam. By using mergeMeshes command, i just merged the fluid domains ( with boundary face creation in between the fluid domains). After solving operation got finished, I have transfered the mesh and data file from OF to Fluent (files in fluentInterface folder). And foamMeshToFluent & foamDataToFluent command creates fluent data and mesh files in that folder. After reading the both mesh and data files in fluent, I have only one fluid body (all 5 fluid domains together to formed as 1 fluid body, while creating Iso-surface). how to transfer the data as it is from the openFOAM to Fluent??? I need 5 fluid domains as in openfoam in fluent. How can i get ?? Thanks in advance, Vishsel |
There is a command called splitMeshRegions used in OpenFOAM often for chtMultiRegionFoam simulations.
You can find its use in the following tutorials: Code:
find $FOAM_TUTORIALS -name "All*" | xargs grep splitMeshRegions |
Hi jherb,
Thank you for your reply. First I have exported the mesh files of domains individually and for merging used mergeMeshes and to find pressure values at internal patches, i have used cyclicAMI patch type noOrdering transform for interior boundary faces on between the domains. And my doubt is when i have to use splitMeshRegion command for my case? Thanks in advance, Vishsel |
I have never used splitMeshRegions for this purpose, but I think, these ideas might help you:
When you created your OpenFOAM mesh from the fluent mesh, automatically cell sets were created. Look for them in constant/polyMesh/sets. I am not sure, but perhaps they survived the merging of the different meshes. Then you can use those cell set regions to split your (one) mesh, you used for your simulation back into different meshes which you can convert back to a fluent mesh. |
All times are GMT -4. The time now is 06:26. |