|
[Sponsors] |
March 29, 2008, 19:14 |
Hi,
cellSets and faceSets are
|
#21 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Hi,
cellSets and faceSets are a community of cells or faces. These supply certain geometrical (but not only)conditions, for example a box or a surfase inside the mesh. You need sets, to create face- or cellZones (even MRFzone "rotor" from MRFsimpleFoam tutorial). The zones were created using setToZone-utility. |
|
March 29, 2008, 19:25 |
by the way, important is, that
|
#22 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
by the way, important is, that the names of the zones in faceZones-list and in MRFzones-dictionary are the same. You shouldn't repeat the name of boundary "rotor", you can call they "stator", "John" or "Diana" - what ever you want...
|
|
March 30, 2008, 11:48 |
Hi
thanks! but what is the "
|
#23 |
Senior Member
|
Hi
thanks! but what is the "rotor" in facesetdict and cellsetdict?there are two "rotor" in both of the two file?could you tell me more? |
|
March 30, 2008, 15:49 |
Hi,
I tell you much more abou
|
#24 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Hi,
I tell you much more about this case and its zones on monday, when I'll be on my workplace - I don't have any linux-PC at the moment. OK? |
|
March 31, 2008, 00:59 |
thanksa lot!
|
#25 |
Senior Member
|
thanksa lot!
|
|
March 31, 2008, 05:52 |
Hi,
As promised, I tell you a
|
#26 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Hi,
As promised, I tell you about Mixer2D case. In the constant-dictionary is a "file MRF-zones". It should declare, which part of the mesh will rotate. The name of the MRF-zone is "rotor", so we need to create a cellZone, that consists of the cells, that will rotate. To create this cellZone, we need first create cellSet. In the mixer Vessel2D-dictionary is an Utility named makeMesh. Open it and look carefully at all the steps, that were done: 1-2 blockMesh .. mixerVessel2D - mesh is generated. 3. cellSet .. mixerVessel2D - sellSet is created using sellSet-dictionary. Now we have cells, that should rotate, but the cellSet contains also faces, wich belong to bondary. These have to be deleted. 4-5 cp system/faceSetDict_rotorFaces system/faceSetDict faceSet .. mixerVessel2D - faceSet of boundary-faces is created using faceSetDict_rotorFaces. 6-7 cp system/faceSetDict_noBoundaryFaces system/faceSetDict faceSet .. mixerVessel2D - boundary-Faces were deleted using faceSetDict_noBoundaryFaces. 8.setsToZones .. mixerVessel2D -noFlipMap - the cellZone is created. The name of the Zone should be the same, that the name of MRFZone. That's the end. Now, you can start first the makeMesh-utility and then run your MRF-case. |
|
March 31, 2008, 10:44 |
Hi
Q1: in 3 to 8 ,your aim is
|
#27 |
Senior Member
|
Hi
Q1: in 3 to 8 ,your aim is to creat a "Zone" for "MRFZones",which should rotate.So is that mean if the whole zone of the mesh is rotating,there is no need to delete these faces,the only thing is to make the name of zone in the file MRFZone the same as in the cellZone file? take impeller of pump for example, the boundary of hub and shroud is also rotating,so do i still need to do the step 3 to 8 to remove the hub and shroud or not?(i guess there is no need to delete the boundary for they do have rotating speed, or just deleting the none rotating boundary) Q2:you say the cellSets contains faces,i don`t understand the faces mean,are they surface of zone makeup of lots of cell or the faces of a cell? so if it is surface of the zone,after deleting the boundary .the remainder are cells of rotating zone and interface between rotor and stator,is that right? Q3:when we do cellSet and faceSet there is two "rotor", one in cellZones("A"),the other in boundary("B"),when we do cellSet there is the 3rd--in "set"("C"). so i guess in the cellSetDict: // Name of set to operate on name rotor; this one is "C",which will be created after cellSet // One of clear/new/invert/add/delete|subset/list action new; // Actions to apply to cellSet. These are all the topoSetSource's ending // in ..ToCell (see the meshTools library). topoSetSources ( // Cells in cell zone zoneToCell { name rotor; // name of cellZone this one is "A" ,which is the utility cellSet will convert from cellZone to cellset } ); And in thefaceSetDict_rotor: // Name of set to operate on name rotor; this one is "C",which has been created before // One of clear/new/invert/add/delete|subset/list action new; // Actions to apply to pointSet. These are all the topoSetSource's ending // in ..ToFace (see the meshTools library). topoSetSources ( // Select based on cellSet cellToFace { set rotor; what is the rotor refer to?"B"? the boundary one? option all; // All faces of cells } ); |
|
March 31, 2008, 11:48 |
by the way
Q4: according to
|
#28 |
Senior Member
|
by the way
Q4: according to Q2,if we delete the boundary from cellSet ,how can i add the angular velocity to the boundary (i.e. blade,rotor,hub and shroud) Q5: in the dynamicMeshDict mixerFvMeshCoeffs { coordinateSystem { type cylindrical; origin (0 0 0); axis (0 0 1); direction (1 0 0); what is this direction } rpm 10; what is this angular speed? slider { inside insideSlider; outside outsideSlider; } } wayne thanks! |
|
March 31, 2008, 12:08 |
Only cells belonging to MRF-Zo
|
#29 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Only cells belonging to MRF-Zone should rotate. And you specify this zone when you create cellSet and then cellZone from this cellSet.
By the way, did you run makeMesh utility befor you run the case? You are desperate to do that, on the other way the solver can't find MRF-Zones. |
|
March 31, 2008, 12:16 |
i can run that case ,but i wa
|
#30 |
Senior Member
|
i can run that case ,but i want to do my case-- a centrifugal pump impeller,so could you please give me help about the question above?
|
|
March 31, 2008, 12:24 |
yuo don't need the dynamicMesh
|
#31 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
yuo don't need the dynamicMeshDict, and you can delete it. You don't solve any moving meshes using MRFSimpleFoam. The required dictionary is the MRFZonesDictionary.
|
|
March 31, 2008, 13:01 |
After you succesfully converte
|
#32 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
After you succesfully converted the mesh using fluent3DMeshToFoam, you need first need specify a part of the mesh, that should rotate. This happens with help of a sellSetDict. this one is not the same dictionary, that is located at the system directory. You have to create it youself. For example, as a rotating box. Possible sellSetDict. were:
name Mixer; action new; topoSetSources ( boxToCell { box (-25 -7.5 -35) (25 7.5 35); } ); this one is from my own case. After you made the cellSet, you have to create a cellZone from this cellSet: setsToZones root case -cellSet nameOfcellSet -no flipmap. When it'done, you can delete this cellsetDict. or replace it with this one: // Name of set to operate on name rotor; this one is "C",which will be created after cellSet // One of clear/new/invert/add/delete|subset/list action new; // Actions to apply to cellSet. These are all the topoSetSource's ending // in ..ToCell (see the meshTools library). topoSetSources ( // Cells in cell zone zoneToCell { name rotor; // name of cellZone this one is "A" ,which is the utility cellSet will convert from cellZone to cellset } You need also the faceZone, that represent the surface area of your impeller (or even of the part of the mesh, that should rotate). The faceZone for it is for Example: arguments "/home/cfduser/kesselMRF"; name mixer;//name of the zone action new; topoSetSources ( patchToFace { name Ruehrer;//name of boundary } ); Now you have to build once again a zone - not a cellZone, but a faceZone. And once again using setsToZones-command. Now you can add two faseSetDict. from MixerVessel2D case into your system-directory. Be carefull, look after names in each Dict. Then you should edit the makeMesh utility. Steps, that you don't need are beeng deleted. I hope, my advices help. |
|
April 1, 2008, 02:50 |
Hi
thanks lot! i have got lot
|
#33 |
Senior Member
|
Hi
thanks lot! i have got lot from you,but still questions! Q1:do i still need to add the two faseSetDict from MixerVessel2D case into my system-directory? i think faceSetDict_rotor is to make surfaces from cellSet and faceSetDict_noboundary is deleted the boundary from sufaces which have been maked by faceSetDict_rotor .by using setsTonZones-commond after these two steps, the aim is to add some special rotate faceZones for case.so if i have had the all faceZones defined such as rotating boundary,there is no need to do these steps.is that rigt? Q2:there is boudary correction in the MRFZones.c,but if i have rotating boundary,such as hub shround, do i still need to patch or give the angular velocity to the rotating boundary in 0-directory?? thanks! wayne |
|
April 1, 2008, 05:34 |
toQ1 : my opinion is: you need
|
#34 |
Member
Paul Mauk
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
toQ1 : my opinion is: you need these two faceSetDict. To check that, simply try to run the case without makeMesh (and makeMesh-utility is designed for making steps defined in these faceSetDict.)
to Q2 -I don't know. I've never seen the MRFZones.c,because I had no need in that. I simply created my own case, and this case worked. That's all. Greetings, Paul. |
|
April 1, 2008, 06:09 |
thanks!
i mean if i need to
|
#35 |
Senior Member
|
thanks!
i mean if i need to run the makemesh for my case. i have seen the makemesh file fot mixvessel2D case. thank! wayne |
|
June 8, 2012, 12:08 |
|
#36 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear All,
I know that it is an old conversation. I hope that someone is still following it. Anyway, I am trying to solve this kind of problem. I am running OpenFOAM 2.1. I have a msh mesh (built with Workbanch) and I have converted it with fluent3DMeshToFoam. I want to simulate an opening door. And I want that a zone of my domain remains fixed. I have 2 different zones, called fixed and moving. How can I make the fixed zone stay fixed? Thanks, Samuele |
|
November 30, 2015, 13:22 |
fluent3DMeshToFoam not writing mesh
|
#37 | |
Member
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 11 |
Hi All,
I'm using fluent3DMeshToFoam to export a mesh to OpenFoam and the process seems to work fine but it simply doesn't save any folder with the mesh in the directory constant/region0. I'm working with a cluster and submiting this command through a submission file whose only comannd is: fluent3DMeshToFoam nrel.msh and the mesh: nrel.msh is located in the case folder besides 0.org, system and constant. Does anyone know what could be the reason and the fix for it ? Here is the output of the converter. I replaced many lines reporting the conversion of the several faceGroups and patches for "..." and the host and Case name for "###". Quote:
|
||
|
|
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 |