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

cavity tutorials

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2016, 11:22
Default cavity tutorials
  #1
New Member
 
Francesco Saverio Ciani
Join Date: Oct 2016
Posts: 7
Rep Power: 10
ciaci88 is on a distinguished road
Hi,
I am trying to run my first tutorial about the cavities, but I have to many doubts and morever the code does not work. This openfoam version is running in windows 10.

This is my code:

C:\Program Files (x86)\ESI\OpenFOAM\1606>"C:\Program Files (x86)\ESI\OpenFOAM\1606\Windows\Scripts\of_start_c ontainer.exe" -Arguments "C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin"
Starting "default"...
Machine "default" is already running.
of_plus_1606
[ofuser@default ~]$ mkdir -p $FOAM_RUN
[ofuser@default ~]$ cp -r $FOAM_TUTORIALS $FOAM_RUN
[ofuser@default ~]$ cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity/cavity
[ofuser@default cavity]$ ls
0 constant system
[ofuser@default cavity]$ cd constant
[ofuser@default constant]$ ls
transportProperties
[ofuser@default constant]$ cd polyMesh
bash: cd: polyMesh: No such file or directory


Now my questions are:

1) Where can I find this folders (tutorials/incompressible/icoFoam/cavity/cavity)on my computer?
2) Where can I find the polymesh file?
3)Why Openfoam cannot find polymesh file?

Thank you in advance
ciaci88 is offline   Reply With Quote

Old   November 2, 2016, 04:48
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
1) It should be in your default user directory.
2) Run the blockMesh application to generate the polyMesh directory, including the files relating to the generated mesh.
3)it doesn't exist yet till you run your blockMesh application.
Dipsomaniac is offline   Reply With Quote

Old   November 2, 2016, 09:45
Default
  #3
New Member
 
Francesco Saverio Ciani
Join Date: Oct 2016
Posts: 7
Rep Power: 10
ciaci88 is on a distinguished road
Hi Dipsomaniac, thank you very much for your help
1) Can you specify the path of the default user directory?
2) How can I run the blockMesh application to generate the polyMesh directory? This step is missing in the tutorial
ciaci88 is offline   Reply With Quote

Old   November 2, 2016, 16:20
Default
  #4
New Member
 
Francesco Saverio Ciani
Join Date: Oct 2016
Posts: 7
Rep Power: 10
ciaci88 is on a distinguished road
This is the only folder that I have found related to Openfoam. I cannot find any folder with the tutorials in this folders. Should I search in an other folder?
screenshot.jpg

Which command should I type to run polyMesh?
ciaci88 is offline   Reply With Quote

Old   November 13, 2016, 15:46
Default
  #5
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 10
khedar is on a distinguished road
You have to run 'blockMesh' command from the 'cavity' directory. This will create a directory called 'ployMesh' in 'constant' where all the mesh info will be stored. After doing this you should be able to see this directory.

Last edited by khedar; November 13, 2016 at 15:46. Reason: word 'PolyMesh' added.
khedar 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
[ICEM] Meshing a cavity within an aerofoil Alwaysabeginner ANSYS Meshing & Geometry 5 August 13, 2022 11:59
Flow over a cavity inconsistent Sparow89 FLUENT 0 June 20, 2016 13:02
cavity in flat plate and drag prediction Far FLUENT 0 May 19, 2010 15:47
[blockMesh] basic blockMesh : manipulate the lid-driven cavity flow tutorials Lexa OpenFOAM Meshing & Mesh Conversion 2 November 12, 2009 22:15
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52


All times are GMT -4. The time now is 00:23.