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

Compiling new sixDoFRigidBodyMotion solver on HPC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2019, 03:01
Default Compiling new sixDoFRigidBodyMotion solver on HPC
  #1
New Member
 
Andreas
Join Date: Jan 2018
Posts: 6
Rep Power: 8
amh@inventas.no is on a distinguished road
Hello all,

I am working on an HPC with openfoam 6.0 and slurm and I am trying to compile a new solver.

1.) I copied the src folder for sixDofRigidBodyMotion to $HOME folder

2. I have created a new restraint (modified copy of linearDamper.C and .H) and added the same line to Make/files and also added last line of that file to $ (FOAM_USER_APPBIN). The files have been given a new folder with same name as files.

3.) I compile this, and the folder lnInclude is created, also containing the new externalForces.C and .H).

4.) When I try to use the new function in dynamicMeshDict and run interFoam I get following error: "Unknown sixDofRigidBodyMotionRestraint type externalForce". Indicating as I suspect one of two errors: failed compilation or missing sourcing or similar.

Could anyone out here help me with a good description of how to compile this and use it correctly? I am not very experienced with OF, so be gentle.
amh@inventas.no 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
make: Clock skew detected. build may be incomplete. while compiling new solver. savee OpenFOAM Programming & Development 1 May 27, 2017 07:23
Hybrid discretisation - blend factor gcoopermax CFX 5 September 23, 2016 09:05
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Compiling meltFoam solver mick223 OpenFOAM Programming & Development 12 July 31, 2015 11:33
Working directory via command line Luiz CFX 4 March 6, 2011 21:02


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