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

how to define the motionSolver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2012, 19:40
Default how to define the motionSolver
  #1
Member
 
Join Date: Jun 2012
Posts: 65
Rep Power: 13
conceptone is on a distinguished road
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
conceptone is offline   Reply With Quote

Old   October 10, 2012, 03:10
Default
  #2
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
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.
Peter_600 is offline   Reply With Quote

Old   October 10, 2012, 21:15
Default
  #3
Member
 
Join Date: Jun 2012
Posts: 65
Rep Power: 13
conceptone is on a distinguished road
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++....
conceptone is offline   Reply With Quote

Old   October 11, 2012, 03:11
Default
  #4
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
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
Peter_600 is offline   Reply With Quote

Old   October 11, 2012, 13:44
Default
  #5
Member
 
Join Date: Jun 2012
Posts: 65
Rep Power: 13
conceptone is on a distinguished road
acutually I am using 2.1 version and fvMotionSolverEngineMesh in 1.6 also needs to input the fvMotionSolver. But still thanks!
conceptone 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
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 21:13
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 17:56.