|
[Sponsors] |
|
September 25, 2007, 05:32 |
Fluent3DMeshtoFoam
|
#1 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
Hi ,
My question is about the fact that the newly implemented fluent3DMeshToFoam does not write sets anymore. I need that in order to set some properties to sets with the setFieldByCellSet... I see that it writes out cellZones, though. What is the difference between a cellZone and a cellSet and what would be the correct syntax for setting a value of some (scalar) field on that cellZone? I mean, to do the same thing as in setFieldsByCellSet. Thanx, Radu |
|
September 25, 2007, 05:38 |
I had the same problem with th
|
#2 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
I had the same problem with the fluentMeshToFoam utility. I just compiled the old utility using the new OF-1.4.1.....now it writes sets again....
Regards, Frank
__________________
Frank Bos |
|
September 25, 2007, 13:50 |
You can fairly easily convert
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You can fairly easily convert a zone to a set and vice versa.
setsToZones will convert sets to zones. cellSet with 'zoneToCell' converts a cellZone into a cellSet |
|
September 26, 2007, 03:46 |
Thank you Mattijs for your sug
|
#4 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
Thank you Mattijs for your suggestions. Will look into it.
Cheers, Radu |
|
February 7, 2008, 04:35 |
Can anyone explain what is the
|
#5 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Can anyone explain what is the conceptual difference between cellSets and cellZones? Why are they both necessary?
Dragos |
|
February 7, 2008, 04:47 |
I might not be the most approp
|
#6 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
I might not be the most appropriate person to answer the first part but for the second question, I guess that one does not need them both. Unless you want to use some "old" tools like the aforementioned setFiedlbyCellSet or foamToVTK that does not use Zones (or it did not use zones when I used it) but Sets.
Radu |
|
February 7, 2008, 05:08 |
The difference is historical i
|
#7 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
The difference is historical in origin and maintained due to inertia. Ideally there should be only one very flexible element grouping construct.
Zones are supported by mesh topo change engines, sets are not. As Radu mentioned, sets are older and used in many utilities including cellSet, pointSet, faceSet, setSet, foamToVTK and a few more. |
|
February 7, 2008, 05:26 |
Thanks both of you for the exp
|
#8 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Thanks both of you for the explanations. Can you add something about regions? Are they different from zones or sets?
Dragos |
|
February 7, 2008, 06:51 |
Regions are the seeds of a mul
|
#9 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Regions are the seeds of a multi-mesh system. They don't do much at present.
|
|
March 12, 2008, 18:31 |
Hi ,
The fluent3DMeshToFoam
|
#10 |
Member
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17 |
Hi ,
The fluent3DMeshToFoam does not write faceZones. I need that in order to use the MRF (impeller and zone MRF). How can I get the faceZones? Thanks a lot. |
|
March 13, 2008, 03:29 |
Hi, Danielle,
You need first
|
#11 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Hi, Danielle,
You need first faceSets, using faceSets you can make faceZones (setsToZones). Paul. |
|
March 14, 2008, 11:38 |
Thank you for your answer Paul
|
#12 |
Member
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17 |
Thank you for your answer Paul,
I have tree zones. and I should have the zone_MRF in faceCells. I make this steps: 1) flunet3DMeshToFoam . case3dMRF 2) in faceSetDict I make the name of zone zone_MRF and action new 3) faceSet . Test_zones 4) to create zone_MRFCells file I make in cellSetDict name zone_MRFCells; action new; zoneToCell { name zone_MRF; } 5) cellSet . Test_zones 6)setsToZones . Test_zones My first question is: is that the right commandes to have a corresponding face of my zone_MRF is faceCells file ? my second is: what is the roole of flipMap? I make -noFlipMap like option Thank you for your precious help! |
|
March 14, 2008, 15:58 |
Hi,
the steps are exactly:
|
#13 |
New Member
Rachid bannari
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 12
Rep Power: 17 |
Hi,
the steps are exactly: 1) fluent3DMeshToFoam .. yourCase file.msh (you are in the folder yourCase) 2)copy the file cellSetDict from the case mixerVessel2D of MRFSimpleFoam to system of your case. 3)cellSet .. yourCase 4) copy the file faceSetDict_rotorFaces from the case mixerVessel2D of MRFSimpleFoam to system/faceSetDict of your case. 5)faceSet .. yourCase 6)copy the file faceSetDict_noBoundaryFaces from the case mixerVessel2D of MRFSimpleFoam to system/faceSetDict of your case. 7)faceSet .. yourCase 8)setsToZones .. yourCase -noFlipMap Good luck -- Rachid |
|
March 27, 2008, 04:01 |
dear everyone, when i do the s
|
#14 |
Senior Member
|
dear everyone, when i do the step 1) as BANNARI ,i can not get the mesh .for the error message is :
-->FOAM FATAL ERROR : Do not understan characters: from function fluentMeshToFoam::lexer in file FluentMeshToFoam.L at line 703 how can i resolve it? |
|
March 27, 2008, 04:18 |
You must have some unrecognise
|
#15 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
You must have some unrecognised character in the .msh file. Check fluentMeshToFoam.L to see what is accepted and what not.
Radu |
|
March 27, 2008, 05:31 |
Typpically this occurs when th
|
#16 |
Member
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 17 |
Typpically this occurs when the mesh was exported from a gambit running under windows.
Therefore: do a dos2unix on the mesh file before converting it with fluent3dmeshtofoam |
|
March 28, 2008, 00:47 |
Thanks a lot i resolve it by
|
#17 |
Senior Member
|
Thanks a lot i resolve it by do a dos2unix
but when i finished all steps accordig to Rachid,and running my case there is FATAL EEROR! cannot find MRFzone cellzone ,what is the problem? thanks! wayne |
|
March 28, 2008, 00:51 |
i think it may be caused by th
|
#18 |
Senior Member
|
i think it may be caused by the name "rotor" in the MRFsimplefoam tut.,for too much name "rotor",cellzone name is "rotor",boundary name also "rotor",set name still "rotor",could you please give me more about that tut?
|
|
March 29, 2008, 08:18 |
Hi
my case is running now,bu
|
#19 |
Senior Member
|
Hi
my case is running now,but i am not quiet sure it is right,for just modify the cellzone name and some boudary name.i do not clearly understand the procedure of cellSet and faceSet. 1why should do faceset and cellset? 2what is the meannig of the both? 3when do these what changes? 4what is setTozone |
|
March 29, 2008, 10:36 |
by the way:
5 when i just wan
|
#20 |
Senior Member
|
by the way:
5 when i just want to simulate the a rotated zone like impeller without interaction with station zone do i still need to do cellSet and faceSet? 6 in object MRFZones the definition of omega omega omega [0 0 -1 0 0 0 0] ,does that mean the dimension is revolution per second? or rad/s? wayne |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 01:47 |
periodic (cyclic) boundary - fluent3DMeshToFoam | cyln | OpenFOAM | 1 | October 17, 2017 02:59 |
[Commercial meshers] fluent3DMeshToFoam conversion problem | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 14 | March 12, 2014 05:16 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
OpenFOAM command from inside MATLAB | sega | OpenFOAM Post-Processing | 18 | September 25, 2012 07:35 |