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

solidBodyMotionFunctions::linearMotion and logging position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2021, 11:40
Default solidBodyMotionFunctions::linearMotion and logging position
  #1
New Member
 
Norge
Join Date: Dec 2020
Posts: 7
Rep Power: 6
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

Reply

Tags
confined waters, interfoam, linearmotion, lock, log file


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 07:46
Logging files (.C and .H) the solver uses during the solution of a case Bufacchi OpenFOAM 2 February 1, 2012 09:07
Data logging in UDF carno FLUENT 2 October 6, 2008 02:43
TUI commands logging??? carno FLUENT 6 August 23, 2007 02:21
Residual logging HS FLUENT 1 March 14, 2006 10:04


All times are GMT -4. The time now is 17:21.