CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   setSet in openfoam ver 2.2x (https://www.cfd-online.com/Forums/openfoam-pre-processing/119208-setset-openfoam-ver-2-2x.html)

reza1980 June 12, 2013 05:18

setSet in openfoam ver 2.2x
 
Hi
I want to use setSet in openfoam ver 2.2x but it says
setSet: command not found
Any body has idea ?
Thanks

mturcios777 June 12, 2013 13:33

setSet was replaced with topoSet and works via the topoSetDict.

billie June 13, 2013 02:55

Quote:

Originally Posted by mturcios777 (Post 433635)
setSet was replaced with topoSet and works via the topoSetDict.

setSet is still there in 2.2.x!

mturcios777 June 13, 2013 12:14

It seems I was mistaken. Apologies for that. topoSet is (in my opinion) a superior tool.

reza1980 June 13, 2013 12:33

Do you know about the corresponding dicttionary(ies) to run setSet Or topoSet for MRFSimpleFoam (ver 2.1x or 2.2)?

mturcios777 June 13, 2013 12:36

Quote:

Originally Posted by reza1980 (Post 433850)
Do you know about the corresponding dicttionary(ies) to run setSet Or topoSet for MRFSimpleFoam (ver 2.1x or 2.2)?

setSet is run in an interactive command line interface. A sample topoSetDict can be found in the $FOAM_UTILITIES/mesh/manipulation/topoSet directory. It shows examples of all possible operations and shows a specific example of creating sets.

reza1980 June 13, 2013 12:40

Marco
I want to run MRFSimpleFoam (ver2.1x or 2.2) for a propeller(MRF sliding mesh) but I coudnt find the dictionaries in this regard. Tutorial is corresponding to mixer2D.
Do you have any comment or source?

mturcios777 June 13, 2013 12:41

Its not an MRF case, but the propeller case in $FOAM_TUTORIALS/incompressible/pimpleDyMFoam does a lot of pre-processing that may be similar to what you want.

reza1980 June 13, 2013 12:44

Yes,I did AMI implementation already but I have no example to run MRF for 2.1x or 2.2 .I dont think that the toposet dic can be used as general and it must be specific for each case.

mturcios777 June 13, 2013 13:07

Quote:

Originally Posted by reza1980 (Post 433855)
Yes,I did AMI implementation already but I have no example to run MRF for 2.1x or 2.2 .I dont think that the toposet dic can be used as general and it must be specific for each case.

You are correct in that assumption. The topoSetDict in the topoSetDict just has examples of all the operations. The propeller case shows a specific implementation. setSet is similar in that the commands you have to enter are specific to your geometry.

If you look at enough cases, you can figure out what you need to do for yours as even though it won't be exactly the same, you may be able to use some of what they do.

reza1980 June 13, 2013 16:16

Would you please inform me to create the cellzones in MRF It is possible to use 'topoSet -dict system/createAMIFaces.topoSetDict' regarding to define the inner and outter domain as the AMI zones.

mturcios777 June 13, 2013 17:49

Quote:

Originally Posted by reza1980 (Post 433882)
Would you please inform me to create the cellzones in MRF It is possible to use 'topoSet -dict system/createAMIFaces.topoSetDict' regarding to define the inner and outter domain as the AMI zones.

It should definitely be possible. My guess is that you would need to repeatedly use the cylinderToCell source, and do some subsets to get inner/outer regions.

I can't really give much other guidance without knowing the type of geometry you want to do.

reza1980 June 13, 2013 18:52

sphere?!
3D

mturcios777 June 13, 2013 18:58

Sorry, I made a correction to my post above. What geometry do you want to simulate in MRF?

reza1980 June 13, 2013 19:24

My case is a 3D propeller that is created by pointwise. I made AMI but I have a problem to implement through AMI dur to the tutorial is not related to a propeller(mixer2d) except AMI that it is a propeller case. I need the set up appropriate with my propeller

reza1980 June 14, 2013 06:03

I did toposet.AMI.create Dic to setup the MRFcells but after load MRFSimpleFoam I faced this error corresponding MRFZones:

--> FOAM FATAL IO ERROR:
wrong token type - expected word, found on line 25 the punctuation token '('

file: /beda/users/home/rezame/OpenFoam/MRF_2.1X/constant/MRFZones::origin at line 25.

From function operator>>(Istream&, word&)
in file primitives/strings/word/wordIO.C at line 74.

my MRFZones is like below and it seems Ok.

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

1
(
rotor
{
// Fixed patches (by default they 'move' with the MRF zone)
nonRotatingPatches ();

origin (0 0 0);
axis (0 0 1);
omega constant 15.7;
}
)

// ************************************************** *********************** //


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