CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

setSet in openfoam ver 2.2x

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By mturcios777

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2013, 06:18
Default setSet in openfoam ver 2.2x
  #1
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
Hi
I want to use setSet in openfoam ver 2.2x but it says
setSet: command not found
Any body has idea ?
Thanks
reza1980 is offline   Reply With Quote

Old   June 12, 2013, 14:33
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
setSet was replaced with topoSet and works via the topoSetDict.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 03:55
Default
  #3
Member
 
Daniel Pielmeier
Join Date: Apr 2012
Posts: 99
Rep Power: 14
billie is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
setSet was replaced with topoSet and works via the topoSetDict.
setSet is still there in 2.2.x!
billie is offline   Reply With Quote

Old   June 13, 2013, 13:14
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
It seems I was mistaken. Apologies for that. topoSet is (in my opinion) a superior tool.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 13:33
Default
  #5
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
Do you know about the corresponding dicttionary(ies) to run setSet Or topoSet for MRFSimpleFoam (ver 2.1x or 2.2)?
reza1980 is offline   Reply With Quote

Old   June 13, 2013, 13:36
Default
  #6
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by reza1980 View Post
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.
David* and jiaojiao like this.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 13:40
Default
  #7
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
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?
reza1980 is offline   Reply With Quote

Old   June 13, 2013, 13:41
Default
  #8
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
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.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 13:44
Default
  #9
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
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.
reza1980 is offline   Reply With Quote

Old   June 13, 2013, 14:07
Default
  #10
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by reza1980 View Post
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.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 17:16
Default
  #11
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
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.
reza1980 is offline   Reply With Quote

Old   June 13, 2013, 18:49
Default
  #12
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by reza1980 View Post
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.

Last edited by mturcios777; June 13, 2013 at 19:57. Reason: topoSet does have a cylinderToCell source.
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 19:52
Default
  #13
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
sphere?!
3D
reza1980 is offline   Reply With Quote

Old   June 13, 2013, 19:58
Default
  #14
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Sorry, I made a correction to my post above. What geometry do you want to simulate in MRF?
mturcios777 is offline   Reply With Quote

Old   June 13, 2013, 20:24
Default
  #15
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
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 is offline   Reply With Quote

Old   June 14, 2013, 07:03
Default
  #16
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
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:rigin 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;
}
)

// ************************************************** *********************** //
reza1980 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 19:28
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 05:48
2009 OpenFOAM Summer School in Zagreb, Croatia hjasak OpenFOAM Announcements from Other Sources 0 March 27, 2009 13:08
Inlet BC OpenFOAM 12 ghanshyam OpenFOAM Running, Solving & CFD 7 August 30, 2005 08:44


All times are GMT -4. The time now is 21:32.