CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

solidBodyMotionFunctions::linearMotion and logging position

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2021, 10:40
Default solidBodyMotionFunctions::linearMotion and logging position
New Member
Join Date: Dec 2020
Posts: 7
Rep Power: 5
abeda is on a distinguished road
Hi, you beautiful foamers!

I'm pretty new to OpenFoam, but I've created a scenario where a ship is about to enter a lock. I made geometry files by using Blender, snappied them using the SnappyHexMesh Gui Addon on Blender and exported geometries to STL.

My simulation is set up as:
* Environment: Openfoam v2012.
* Multiphase simulation air, water.
* Move a ship by using solidBodyMotionFunctions::linearMotion at a low forward speed.
* The ship is moved through the lock for 200 meters.
* Depth profile in lock is varying.
* Solver: Interfoam.
* When I set a correct value for Location in Mesh the water and air looks as it should in paraView.

I can log the forces, even though they look quite awkward.
They don't make any sense.

I can find the location of the moving hull by doing a speed*time.
But how can I actually log it through OpenFoam?

Thank you for helping me out.

Have a nice day,

Ann Beate
abeda is offline   Reply With Quote


confined waters, interfoam, linearmotion, lock, log file

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
bashrc file and source bashrc position for cluster Astan OpenFOAM Running, Solving & CFD 0 March 2, 2019 06:46
Logging files (.C and .H) the solver uses during the solution of a case Bufacchi OpenFOAM 2 February 1, 2012 08:07
Data logging in UDF carno FLUENT 2 October 6, 2008 01:43
TUI commands logging??? carno FLUENT 6 August 23, 2007 01:21
Residual logging HS FLUENT 1 March 14, 2006 09:04

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