|
[Sponsors] |
[waves2Foam] Solved: waveDyMFoam stuck after calculating motion of body |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2020, 11:40 |
Solved: waveDyMFoam stuck after calculating motion of body
|
#1 |
New Member
Michiel Bots
Join Date: Jan 2020
Posts: 9
Rep Power: 6 |
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) 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 |
|
January 10, 2021, 18:05 |
waveDyMFOAM
|
#2 |
Member
le
Join Date: Nov 2009
Location: seoul
Posts: 34
Rep Power: 17 |
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, |
|
Tags |
rigid body motion, wave gauge, wavedymfoam |
|
|
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 |