|
[Sponsors] |
October 9, 2012, 20:40 |
how to define the motionSolver
|
#1 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Hi everyone, right now I am running the sprayEnginefoam. In the engineGeometry input file, I select the fvMotionSolver for engineMesh for dynamic meshing,but I got the error message below. Is there anyone knowing how to define the initial value for motionSolver in the input file? Thanks.
--> FOAM FATAL IO ERROR: keyword motionSolver is undefined in dictionary "/usr/people4/liao23/sprayEngine_runcases/biggermesh2/constant/engineGeometry" file: /usr/people4/liao23/sprayEngine_runcases/biggermesh2/constant/engineGeometry from line 18 to line 29. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting |
|
October 10, 2012, 04:10 |
|
#2 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Just plug in motionSolver in ur dictionary file. Than re-run yyour case. It will complain anyways , but also gives you a list with available motionSolvers. Than choose just one of them. OR check the source code itself.
|
|
October 10, 2012, 22:15 |
|
#3 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Thanks for replying, but I tried the first way by:
engineMesh fvMotionSolver; motionSolver dummy; in engineGeometry file and it returns: --> FOAM FATAL IO ERROR: cannot open file file: /usr/people4/liao23/sprayEngine_runcases/biggermesh_0rpm/constant/dynamicMeshDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. I also read the code in fvMotionSolverEngineMesh.C but didn't figure out..I am not familiar with C++.... |
|
October 11, 2012, 04:11 |
|
#4 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Go ahead an create your dynamicMeshDict.
Are u using 1.6-ext? If yes and u are want to use engineMesh, u can choose between the following classes, which are derived from engineMesh: fvMotionSolverEngineMesh layeredEngineMesh staticEngineMesh tetDecompositionEngineMesh try one of these! instead of fvMotionSolver Cheers Peter |
|
October 11, 2012, 14:44 |
|
#5 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
acutually I am using 2.1 version and fvMotionSolverEngineMesh in 1.6 also needs to input the fvMotionSolver. But still thanks!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 22:13 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |