|
[Sponsors] |
March 21, 2013, 05:46 |
fluent3DMeshToFoam
|
#1 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Hi foamers ,
We know that for importing 2D mesh to openfoam (from GAMBIT) we can use fluentMeshToFoam -writeSets This command creates a Sets folder in the polymesh directory and you can see faces of all boundaries... How can I do this action for importing 3D mesh??? I want to importing a 3D mesh from GAMBIT to openfoam and I want to have a Sets file including faces of all boundaries.. any utilities? any commands??? Thanks and best regards, Sasan. |
|
March 21, 2013, 07:41 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
In fact fluentMeshToFoam work with 3D mesh too, so the same with "-writeSets" will work. You can also use fluent3DMeshToFoam, which does almost the same as "fluentMeshToFoam -writeSets -writeZones". Regards, olivier |
|
March 21, 2013, 11:27 |
|
#3 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Dear Olivier ,
fluent3DMeshToFoam -writeSets doesn't work...(I am using 1.6-ext) I appreciate any help.... Thanks, Sasan. |
|
March 21, 2013, 11:37 |
|
#4 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
This is because with fluent3DMeshToFoam, you don't need the "-writeSets" options, just "fluent3DMeshToFaom mesh.msh" will be fine. regards, olivier |
|
March 21, 2013, 13:22 |
|
#5 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
I want to have a Sets file including faces of all boundaries....for 3D mesh...
How can I do this action?? thanks, Sasan. |
|
March 22, 2013, 02:26 |
|
#6 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
I got it....
patchToFace can do this action... Sasan. |
|
March 26, 2013, 12:42 |
|
#7 |
Member
Dogan
Join Date: Nov 2012
Location: Bochum/Germany
Posts: 42
Rep Power: 14 |
Hi Sasan,
i am also dealing with fluent3DMeshToFoam, and i also need the sets file in polyMesh directory. As you also had the same problem, fluent3DMeshToFoam command doesn't create a sets directory inside of the polyMesh directory. You mentioned that patchToFace can do this actioin, but i am using openFoam 2.1.x, and i don't know how to create the sets file in 2.1.x. thanks Dogan |
|
March 26, 2013, 15:00 |
|
#8 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Hi Dear dogan ,
You can use faceSetDict : Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open Source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object faceSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // name faceSet; action new; topoSetSources ( patchToFace { name presin; // name of boundary faces } ); // ************************************************************************* // Code:
faceSet I think this utility exists in all versions of OpenFoam. best regards, Sasan. |
|
April 2, 2013, 06:21 |
|
#9 |
Member
Dogan
Join Date: Nov 2012
Location: Bochum/Germany
Posts: 42
Rep Power: 14 |
Hi Sasan,
thank youz very much for your answer. I don't know why, but unfortunately i couldn't mabage to do it with faceSetDict. it may not be the right way but i tried something else, and it worked. i copied the points file in constant, to the rotor file in constant>sets. i know it souds so wrong, but it worked. thanks and regards Dogan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
periodic (cyclic) boundary - fluent3DMeshToFoam | cyln | OpenFOAM | 1 | October 17, 2017 03:59 |
[Commercial meshers] fluent3DMeshToFoam conversion problem | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 14 | March 12, 2014 06:16 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
OpenFOAM command from inside MATLAB | sega | OpenFOAM Post-Processing | 18 | September 25, 2012 08:35 |