CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] COnvert FLuent MEsh to openfoam with interface (https://www.cfd-online.com/Forums/openfoam-meshing/190857-convert-fluent-mesh-openfoam-interface.html)

manuc July 24, 2017 12:01

COnvert FLuent MEsh to openfoam with interface
 
Hai

I have a fluent Mesh which is to be used with OF 2.4.0. It has a solid and fluid region with conjugate heat transfer.

I generate mesh with ANSYS workbench.

used fluentMeshToFoam *.msh , fluent3DMeshToFoam *.msh fluent3DMeshToFoam *.cas -writeZones , fluentMeshToFoam *.cas -writeZones . None of these seem to work.

With .msh file it shows
Code:

mbedded blocks in comment or unknown:▒
▒▒Found end of section in unknown:▒
Embedded blocks in comment or unknown:▒▒
x`Embedded blocks in comment or unknown:▒
▒▒Found end of section in unknown:?
▒Embedded blocks in comment or unknown:▒
Found end of section in unknown:▒
▒Embedded blocks in comment or unknown:▒
▒`Found end of section in unknown:^
Embedded blocks in comment or unknown:▒▒
▒Embedded blocks in comment or unknown:▒
▒Embedded blocks in comment or unknown:▒▒
▒Embedded blocks in comment or unknown:▒
Embedded blocks in comment or unknown:▒                                                                                                                                                                                                    ▒`▒Embedded blocks in comment or unknown:▒▒
▒▒Embedded blocks in comment or unknown:(
termxtermxte▒Embedded blocks in comment or unknown▒
rm▒▒▒Found end of section in unknown:=
Found end of section in unknown:▒
▒Embedded blocks in comment or unknown:▒
[▒CEmbedded blocks in comment or unknown:R▒
▒Found end of section in unknown:?▒
Embedded blocks in comment or unknown:▒▒
▒?jve*Embedded blocks in comment or unknown:▒▒
Embedded blocks in comment or unknown:▒
▒|Embedded blocks in comment or unknown:▒▒
▒▒▒}▒▒▒Embedded blocks in comment or unknown:▒▒
▒Found end of section in unknown:?
`Embedded blocks in comment or unknown:▒▒
Embedded blocks in comment or unknown:▒▒
▒▒\▒Found end of section in unknown:$▒
;Embedded blocks in comment or unknown:`▒
▒Embedded blocks in comment or unknown:▒
Embedded blocks in comment or unknown:▒
▒▒Found end of section in unknown:!F_
▒▒Found end of section in unknown:?
Embedded blocks in comment or unknown:▒
▒Found end of section in unknown:?
Embedded blocks in comment or unknown:▒▒
Embedded blocks in comment or unknown:
▒Found end of section in unknown:?
▒Embedded blocks in comment or unknown:▒
▒|▒Embedded blocks in comment or unknown:▒▒

mbedded blocks in comment or unknown:▒▒

 Embedded blocks in comment or unknown:{▒
▒Embedded blocks in comment or unknown:▒▒
Embedded blocks in comment or unknown:▒
▒Embedded blocks in comment or unknown:▒
▒Embedded blocks in comment or unknown:▒
▒Embedded blocks in comment or unknown▒
܀▒▒▒Embedded blocks in comment or unknown:▒▒
{▒Found end of section in unknown:?
▒▒Embedded blocks in comment or unknown:▒
▒Embedded blocks in comment or unknown:}▒
Found end of section in unknown:$
Found end of section in unknown:▒
ў▒Embedded blocks in comment or unknown:g▒
▒Embedded blocks in comment or unknown:▒▒
▒▒Embedded blocks in comment or unknown:▒

 Found end of section in unknown:)
]▒܍▒Embedded blocks in comment or unknown:▒▒
Embedded blocks in comment or unknown:▒▒
)Found end of section in unknown:▒
▒▒Found end of section in unknown:?
xtermxtermxtermxtermxtermxtermxtermxtermxtermxter

With fluentMeshToFoam *.cas -writeZones
file it shows
Code:

INISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells


--> FOAM FATAL ERROR:
Cannot find match for face 1.
Model: tet model face: 3(0 3 2) Mesh faces:
4
(
3(1978 16074 14625)
0()
0()
0()
)
Matched points: 4(-1 1978 16074 14625)

    From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID)
    in file create3DCellShape.C at line 280.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  ? at ??:?
#3  ? at ??:?
#4  __libc_start_main in "/lib64/libc.so.6"
#5  ? at ??:?
Aborted (core dumped)


Please find the link to both .cas and .msh file.. Could someone help with what the issue is.

https://drive.google.com/open?id=0B6...XZTTkRXcDd5UVE

Thanks in advance...

manuc July 25, 2017 03:13

Solution:
1. In ANSYS work bench name both solid and the fluifd region. Give name for both volumes
2. Remove the contact regions.
3. Define MEsh parameters for the Faces of solid region alone with the fluid region suppressed and vice-versa (both can be same or different).
4. Unsupress both and creat mesh.
5. Since the contact regions are removed their would be only 2 contact regions ( created by FLUENT itself). .
6. Name it as solid_to_fluid and fluid_to_solid.
7. Use fluentMeshToFoam *.cas -writeZones
8. Rename the interfaces as mapped wall and give necessary attributes.
9. Splitmeshregions
10. USe it for OF simulations


All times are GMT -4. The time now is 01:17.