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

An error about the dynamicmesh file of pimpleDymFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2017, 04:05
Default An error about the dynamicmesh file of pimpleDymFoam
  #1
New Member
 
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10
zxzx is on a distinguished road
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
Attached Images
File Type: png Screenshot from 2017-01-13 17-59-10.png (48.9 KB, 25 views)
File Type: png Screenshot from 2017-01-13 18-02-39.png (24.6 KB, 22 views)
zxzx is offline   Reply With Quote

Old   January 13, 2017, 04:14
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
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.
floquation is offline   Reply With Quote

Old   January 13, 2017, 04:31
Default
  #3
New Member
 
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10
zxzx is on a distinguished road
Quote:
Originally Posted by floquation View Post
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.
Thank you for your answer.

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.
zxzx is offline   Reply With Quote

Old   January 13, 2017, 04:39
Default
  #4
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
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" .
floquation is offline   Reply With Quote

Old   January 14, 2017, 17:49
Default
  #5
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14
pbachant is on a distinguished road
Your best bet may be to copy the dynamicMeshDict file from tutorials/incompressible/pimpleDyMFoam/propeller, and then change the cellZone.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 22:47.