|
[Sponsors] |
An error about the dynamicmesh file of pimpleDymFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2017, 05:05 |
An error about the dynamicmesh file of pimpleDymFoam
|
#1 |
New Member
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10 |
Hello, everyone
I am trying to operate a rotating model in pimpleDymFoam. So I put ICEM mesh into OF and change the dynamicMesh file in constant. I found the cellZone is innerCylinderSmall. But I can not find this item in boundary file. dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solidBodyMotionFvMeshCoeffs { cellZone innerCylinderSmall; solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { origin (0 0 0); axis (0 1 0); omega 158; // rad/s } }I open the cellZone file and found "FLUID_ROTATE_CORE1_TRI", as you see below. 5 ( FLUID_ROTATE_CORE1_TRI { type cellZone; cellLabels List<label> 2395820 ( 0 I paste this item into dynamicMesh file and try to operate it. I get an error in the first pic. I do not know why it can not be run in my model but can be run in example. So I change the file as the code said. But there is another error in the second pic. Is there any people could tell me WHY and HOW to deal with it. THANKS. ZX |
|
January 13, 2017, 05:14 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Read the error message. It literally says that "solidBodyMotionFvMesh" does not exist, hence your problem is that you specify a "dynamicFvMesh" that is nonexistent. It then gives you allowed alternatives.
How did this happen? You probably copied the file between different versions of OpenFoam, in which name conventions changed. Or is the specified dynamicFvMesh a custom one? In that case, you must include the library in system/controlDict. What should you use? I don't know - depends on the problem. Judging purely from the name of the dynamicFvMeshes, I reckon "dynamicMotionSolverFvMesh" is what you are looking for. |
|
January 13, 2017, 05:31 |
|
#3 | |
New Member
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10 |
Quote:
Yeah, It says "solidBodyMotionFvMesh" does not exist. Actually, this item is not belong the 7 items below. But it can be run in the same PC and the same version of OF. Surely, I have included the controlDict file and did not change it at all. I agree with u and change it into dynamicMotionSolverFvMesh but the second error happened. |
||
January 13, 2017, 05:39 |
|
#4 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
The second error says that the keyword "solver" is not specified.
That is, your dictionary is missing a mandatory/obligatory entry. I'm not sure what exactly it should look like: find a tutorial that uses the "dynamicMotionSolverFvMesh": Code:
cd $FOAM_TUTORIALS grep -rn "dynamicMotionSolverFvMesh" . |
|
January 14, 2017, 18:49 |
|
#5 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
Your best bet may be to copy the dynamicMeshDict file from tutorials/incompressible/pimpleDyMFoam/propeller, and then change the cellZone.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |