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

[waves2Foam] floating object inside the flume tutorial with interDyMFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2015, 22:37
Default floating object inside the flume tutorial with interDyMFoam
  #1
New Member
 
Join Date: Apr 2015
Posts: 14
Rep Power: 11
Rising Star is on a distinguished road
hi everybody

I'm completely new to openfoam and CFD world, so please be patient if my request seems stupid

for studying purposes I've to simulate a wavetank including a floating plate. During my researches I've found that waves2foam is more or less what I need, but I don't know what I've to do to add the floating object, for example to the waveflume tutorial.

I'm running openfoam 2.3.0, and I've found the tutorial linked here (https://sites.google.com/site/jordim...ic-mesh-motion) but it's not working at all, since it's designed for OF 1.7.1

could you please help me?

tnx in advance

Best Regards
Rising Star is offline   Reply With Quote

Old   April 13, 2015, 03:21
Default floating object inside the flume tutorial with interDyMFoam
  #2
New Member
 
Join Date: Apr 2015
Posts: 14
Rep Power: 11
Rising Star is on a distinguished road
hi everybody

I think I've coupled waves2foaam with interdymfoam (i'm a newbie), so I've tried to put a floating object inside the flume tutorial, but the simulation crashes immediately

this is the error I get

Quote:
Centre of mass: (10.125 -0.0881379 0.05)
Linear velocity: (-0.034629 -43.6092 6.78388e-05)
Angular velocity: (-13839 8.03976 -10.6603)
Execution time for mesh.update() = 0.07 s
GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 4.64817e-06, No Iterations 8
GAMGPCG: Solving for pcorr, Initial residual = 0.0490237, Final residual = 4.62368e-06, No Iterations 4
time step continuity errors : sum local = 3.06048e-06, global = 2.01192e-07, cumulative = 1.18549e-07
smoothSolver: Solving for alpha.water, Initial residual = 0.00160084, Final residual = 6.28579e-09, No Iterations 17
Phase-1 volume fraction = 0.5637 Min(alpha1) = 0 Max(alpha1) = 1.892
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.5637 Min(alpha1) = -6.15106 Max(alpha1) = 76.4838
Relaxing time: 0.03 s
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
#4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
#5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#8
at ??:?
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10
at ??:?
those are the files I'm using
https://www.dropbox.com/s/z6h5nhm8sr...me.tar.gz?dl=0


please help me, I'm stuck and I don't know how to solve this situation

thanks in advance
best regards
Rising Star is offline   Reply With Quote

Old   April 21, 2015, 00:42
Default
  #3
New Member
 
Pablo Montalvo
Join Date: Feb 2015
Location: Taiwan
Posts: 9
Rep Power: 11
Olbap is on a distinguished road
@Rising : I ran your case and found the same error, although changing the time scheme seems to change the error time. So I tried to output what happens before the crash, and it seems your floating object is not well defined, the wave field just crashes into it: I don't know what happens exactly but the Courant number explodes and the maximum water fraction is way above 1. It looks like and obstacle.
I have no solid advice, but have you tried either 1) your waveDymFoam on a known tutorial like waveFlume 2) to put a floating object using just waveFoam (or interFoam)? What were the results?
Best,
Pablo

Last edited by wyldckat; October 7, 2018 at 15:40. Reason: removed answer to another post that was on the main thread
Olbap 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
Stability Issue with interDyMFoam / floatingObject tutorial ccmccomb OpenFOAM Running, Solving & CFD 4 April 27, 2023 05:13
OF 1.6-ext interDyMFoam damBreakWithObstacle tutorial crashes Arnoldinho OpenFOAM Bugs 5 April 3, 2013 18:13
Floating object with 6DoF in InterDyMFoam wavytracy OpenFOAM Programming & Development 2 November 5, 2010 11:28
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


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