CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Solved: waveDyMFoam stuck after calculating motion of body

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2020, 11:40
Default Solved: waveDyMFoam stuck after calculating motion of body
  #1
New Member
 
Michiel Bots
Join Date: Jan 2020
Posts: 9
Rep Power: 6
mbots is on a distinguished road
Dear waves2Foam users,

I wanted to share with you the solution to a problem that I've been struggling with for quite some time.

The problem I experienced was that my simulations got stuck after at a random point. It stopped generating new output after have calculated the rigid boy motion. However, the simulation was still running and using the CPU.

The output looked like this:

Code:
Courant Number mean: 0.000129102 max: 0.248969
Interface Courant Number mean: 6.02908e-06 max: 0.171775
deltaT = 0.00350168
Time = 0.0389226

PIMPLE: iteration 1
6-DoF rigid body motion
    Centre of rotation: (0 0 -0.000748691)
    Centre of mass: (0 0 -0.000748691)
    Orientation: (1 0 0 0 1 0 0 0 1)
    Linear velocity: (0 0 -0.0381259)
    Angular velocity: (0 0 0)
Recently, I found out I placed the wave gauges too close to the structure. Even though I restricted the motion in the direction towards the wave gauges, the wave gauges were so close to the structure, that at some point in time the mesh deformed such that the floating object interfered with the wave gauges.

My mistake might seem quite obvious (and it is also briefly mentioned in the manual (warning 3.1)), but nevertheless, I hope my comment might be helpful for some future waves2Foam users.

Best,
Michiel
mbots is offline   Reply With Quote

Old   January 10, 2021, 18:05
Default waveDyMFOAM
  #2
Member
 
le
Join Date: Nov 2009
Location: seoul
Posts: 34
Rep Power: 17
fsifsi is on a distinguished road
Hello Michiel,
Thanks for sharing your experience,
Could you tell me more detail your solver please, which OF you install, did you combine wave2foam and interDyMFoam ?
I try to combine combine wave2foam and interDyMFoam to create new solver in OF1812, but I have error as:In file included from waveProp.C:75:0:
/home/leqt/OpenFOAM/leqt-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude/readWaveProperties.H: In function ‘int main(int, char**)’:
/home/leqt/OpenFOAM/leqt-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude/readWaveProperties.H:27:38: error: ‘g’ was not declared in this scope
referencePoint.value() = g.value()/Foam::mag(g.value());
^
make: *** [/scratch/app2/OpenFOAM-v1812/build/linux64Gcc48DPInt64Opt/applications/solvers/multiphase/waveProp/waveProp.o] Error 1


Could you give me some hints, please.
Many thanks,
fsifsi is offline   Reply With Quote

Reply

Tags
rigid body motion, wave gauge, wavedymfoam

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
6-DoF Rigid Body Motion jumpa72 OpenFOAM Running, Solving & CFD 6 March 1, 2024 03:38
Fluid Domain moving with Rigid body Lloyd Sullivan CFX 3 August 17, 2018 10:58
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
calculating buoyancy of a floating body raghav777 CFX 0 June 27, 2011 03:57
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 09:58.