|
[Sponsors] |
March 21, 2011, 10:47 |
wingMotion2D Tutorial Questions
|
#1 |
Member
Dan
Join Date: Oct 2010
Location: UK
Posts: 41
Rep Power: 16 |
Hi all
I'm fairly new to OF I'm working with Open Foam 1.7.0 in CAE Linux 2010 I am trying to understand the subject of Dynamic Meshing in open Foam, I have been looking at the tutorial wingmotion in pimpleDyMFoam. Although I would like to check to see if the correct things happened when I executed it. I executed by moving to the directory, Code:
cd $FOAM_RUN/tutorials/incompressible/pimpleDyMFoam/wingMotion Code:
./Allrun Code:
Running blockMesh on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion_snappyHexMesh Running snappyHexMesh on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion_snappyHexMesh Running extrudeMesh on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam Running autoPatch on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam Running createPatch on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam Running simpleFoam on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam Running mapFields on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam Running decomposePar on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam Running pimpleDyMFoam in parallel on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam using 3 processes Running reconstructPar on run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam however the wingMotion2D_pimpleDyMFoam only contained 2 time data folders. Then when I checked the results in paraFoam, the _simpleFoam results showed no evidence of mesh change. The pimpleDyMFoam results caused parafoam to exit with the following message Code:
--> FOAM FATAL IO ERROR: Expected a ')' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 16330 an error file: /home/droper1/OpenFOAM/droper1-1.7.0/run/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/0.005/polyMesh/points at line 16330. From function Istream::readEnd(const char*) in file db/IOstreams/IOstreams/Istream.C at line 103. FOAM exiting Regards Dandalf |
|
March 21, 2011, 12:25 |
|
#2 |
Member
Dan
Join Date: Oct 2010
Location: UK
Posts: 41
Rep Power: 16 |
Having inspected the case file closely, I have noticed that it is set up to run on three processors in parallel, however I am working with a Dual core processor
I believe this may be the root of my problem, Although I don't know too much about parallel processing, it looks like I can fix this by changing the Allrun file to read Code:
runParallel pimpleDyMFoam 2 to read Code:
numberOfSubdomains 2; method simple; simpleCoeffs { n ( 1 2 1 ); delta 0.001; } hierarchicalCoeffs { n ( 2 2 1 ); delta 0.001; order xyz; } manualCoeffs { dataFile "cellDecomposition"; } metisCoeffs { } I am going to try it again and see what happens Last edited by dandalf; March 21, 2011 at 13:16. |
|
March 23, 2011, 08:09 |
|
#3 |
Member
Dan
Join Date: Oct 2010
Location: UK
Posts: 41
Rep Power: 16 |
Ok I got it to work... It tuns out I simply ran out of hard drive space the first time.
I have a few questions regarding the case. In the dynamicMeshDict the diffusivity variable presumably determines how geometry distortions are diffused throughout the grid. It is currently set to inverseDistance with regards to a single geometric object. Is it possible to set it to inverseDistance with regards to multiple geometric objects? Secondly in the pointDisplacment file, the case uses the sixDoFRigidBodyDisplacment, are there any notes available on this boundaryField type, and is it possible to create a hinged joint between two geometric objects using it? I would appreciate any help people can give me. Dandalf |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorial for subcooled nucleate boiling | Asghari | FLUENT | 42 | December 10, 2018 12:42 |
[snappyHexMesh] Trying to understand the motorBike tutorial | Andyjoe | OpenFOAM Meshing & Mesh Conversion | 10 | August 10, 2014 17:57 |
Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 06:34 |
Questions about ANSYS ICEM CFD tutorial | pquispea_m5 | ANSYS Meshing & Geometry | 3 | December 5, 2010 16:58 |
Questions about tutorial from User Guide :confused: | inginer | OpenFOAM | 4 | May 25, 2010 16:10 |