CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

Fluent3DMeshtoFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 25, 2007, 05:32
Default Hi , My question is about th
  #1
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
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
r2d2 is offline   Reply With Quote

Old   September 25, 2007, 05:38
Default I had the same problem with th
  #2
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Old   September 25, 2007, 13:50
Default You can fairly easily convert
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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
mattijs is offline   Reply With Quote

Old   September 26, 2007, 03:46
Default Thank you Mattijs for your sug
  #4
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
Thank you Mattijs for your suggestions. Will look into it.
Cheers,
Radu
r2d2 is offline   Reply With Quote

Old   February 7, 2008, 05:35
Default Can anyone explain what is the
  #5
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Can anyone explain what is the conceptual difference between cellSets and cellZones? Why are they both necessary?

Dragos
dmoroian is offline   Reply With Quote

Old   February 7, 2008, 05:47
Default I might not be the most approp
  #6
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
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
r2d2 is offline   Reply With Quote

Old   February 7, 2008, 06:08
Default The difference is historical i
  #7
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
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.
eugene is offline   Reply With Quote

Old   February 7, 2008, 06:26
Default Thanks both of you for the exp
  #8
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Thanks both of you for the explanations. Can you add something about regions? Are they different from zones or sets?

Dragos
dmoroian is offline   Reply With Quote

Old   February 7, 2008, 07:51
Default Regions are the seeds of a mul
  #9
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Regions are the seeds of a multi-mesh system. They don't do much at present.
eugene is offline   Reply With Quote

Old   March 12, 2008, 19:31
Default Hi , The fluent3DMeshToFoam
  #10
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 8
danielle is on a distinguished road
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.
danielle is offline   Reply With Quote

Old   March 13, 2008, 04:29
Default Hi, Danielle, You need first
  #11
Member
 
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 8
plmauk is on a distinguished road
Hi, Danielle,
You need first faceSets, using faceSets you can
make faceZones (setsToZones).

Paul.
plmauk is offline   Reply With Quote

Old   March 14, 2008, 12:38
Default Thank you for your answer Paul
  #12
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 8
danielle is on a distinguished road
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!
danielle is offline   Reply With Quote

Old   March 14, 2008, 16:58
Default Hi, the steps are exactly:
  #13
New Member
 
Rachid bannari
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 12
Rep Power: 8
bannari is on a distinguished road
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
bannari is offline   Reply With Quote

Old   March 27, 2008, 05:01
Default dear everyone, when i do the s
  #14
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
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?
waynezw0618 is offline   Reply With Quote

Old   March 27, 2008, 05:18
Default You must have some unrecognise
  #15
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
You must have some unrecognised character in the .msh file. Check fluentMeshToFoam.L to see what is accepted and what not.
Radu
r2d2 is offline   Reply With Quote

Old   March 27, 2008, 06:31
Default Typpically this occurs when th
  #16
caw
Member
 
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 8
caw is on a distinguished road
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
caw is offline   Reply With Quote

Old   March 28, 2008, 01:47
Default Thanks a lot i resolve it by
  #17
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
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
waynezw0618 is offline   Reply With Quote

Old   March 28, 2008, 01:51
Default i think it may be caused by th
  #18
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
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?
waynezw0618 is offline   Reply With Quote

Old   March 29, 2008, 09:18
Default Hi my case is running now,bu
  #19
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
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
waynezw0618 is offline   Reply With Quote

Old   March 29, 2008, 11:36
Default by the way: 5 when i just wan
  #20
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
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
waynezw0618 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent3DMeshToFoam simvun OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 May 14, 2012 05:20
Segmentation Fault in fluent3DMeshToFoam cwang5 OpenFOAM Bugs 23 April 13, 2011 15:37
Fluent3DMeshToFoam error ryan_m OpenFOAM Bugs 1 April 29, 2008 06:53
Fluent3dMeshToFoam error with Fluent mesh with internal walls jdk OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 3 February 19, 2008 10:01


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