CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

how to add a new pointField as sixDoFRigidBodyDisplacement

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 15, 2014, 03:09
Default how to add a new pointField as sixDoFRigidBodyDisplacement
  #1
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 20
Rep Power: 9
yejungong is on a distinguished road
Dear all,

I need to create a new boundary condition for pointDisplacement similar to sixDoFRigidBodyDisplacement. What I have done is just copied the whole directory of sixDoFRigidBodyDisplacement into the same directory, changed the name, and passed the compilation. It is still depend on sixDoFRigidBodyMotion.

Then I recompiled the whole OpenFOAM-1.6-ext. But when I run the floatingObject case, it cannot find the new pointField. The error message is as below.

Hope got an idea from you!

Regards,
Yejun

Code:
--> FOAM FATAL IO ERROR: 
Unknown patchField type twoDRigidBodyDisplacement for patch type wall

Valid patchField types are :

23
(
zeroGradient
processor
generic
global
uncoupledSixDoFRigidBodyDisplacement
wedge
surfaceDisplacement
value
sixDoFRigidBodyDisplacement
fixedValue
slip
empty
oscillatingFixedValue
mixed
calculated
angularOscillatingDisplacement
oscillatingVelocity
symmetryPlane
oscillatingDisplacement
cyclic
timeVaryingUniformFixedValue
angularOscillatingVelocity
surfaceSlipDisplacement
)
yejungong is offline   Reply With Quote

Old   May 15, 2014, 05:53
Default
  #2
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 20
Rep Power: 9
yejungong is on a distinguished road
it works now.

I just move it to the user's folder, then it works. Quite strange. Everything is the same.
yejungong is offline   Reply With Quote

Old   December 5, 2014, 13:08
Default
  #3
Senior Member
 
ok
Join Date: Oct 2013
Posts: 257
Rep Power: 4
Maimouna is on a distinguished road
Dear Yejun,

could you post your pointDisplacement file. I'm trying to do the same. I would like to let cylinder oscillates with 2 degrees of freedom. I need your help please. What are the steps?

Thanks in advanced and regards.
Maimouna is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pyFoam and paraview eelcovv OpenFOAM Paraview & paraFoam 27 February 3, 2015 17:38
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:14.