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

Resistance prediction in shallow water using OpenFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2017, 09:59
Default Resistance prediction in shallow water using OpenFoam
  #1
New Member
 
Lahbib Zentari
Join Date: Jan 2017
Location: Germany
Posts: 1
Rep Power: 0
Zentari is on a distinguished road
Dear OpenFOAM Community and forum users,

I would be very thankfull for any advice. I am currently dealing with ship resistance in shallow waters, using a starCCM+ mesh. The domain is pretty simple, (Inlet / Outlet / Bottom / Side1 & 2 / Hull / Atmosphere) meshed around the KCS HULL Model, approximately 6x10^6 Cells. I use interFoam ver. 4.10, using the DTC Interfoam tutorial. No Mesh morphing, the ship is fixed. After a few timesteps, the simulation collapses with following message:

Code:
 PIMPLE: iteration 1
  smoothSolver:  Solving for alpha.water, Initial residual = 7.89558e-07, Final residual = 3.7645e-10, No Iterations 1
  Phase-1 volume fraction = 0.284503  Min(alpha.water) = -0.150908  Max(alpha.water) = 17.5372
  Applying the previous iteration compression flux
  MULES: Correcting alpha.water
  MULES: Correcting alpha.water
  MULES: Correcting alpha.water
  Phase-1 volume fraction = 0.284503  Min(alpha.water) = -0.150907  Max(alpha.water) = 17.5372
  GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00458485, No Iterations 5
  time step continuity errors : sum local = 7.14223e+63, global = 3.62167e+62, cumulative = 3.62167e+62
  GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 9.96527e-08, No Iterations 516
  time step continuity errors : sum local = 1.72037e+90, global = 3.60294e+87, cumulative = 3.60294e+87
  [17] [18] #0  #0  Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&) addr2line failed
  [17] #1  Foam::sigFpe::sigHandler(int) addr2line failed
  [18] #1  Foam::sigFpe::sigHandler(int) addr2line failed
  [17] #2  ? addr2line failed
  [18] #2  ? addr2line failed
  [17] #3  void Foam::magSqr<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> const&) addr2line failed
  [18] #3  void Foam::magSqr<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> const&) addr2line failed
  [17] #4  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::magSqr<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> > const&) addr2line failed
  [18] #4  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::magSqr<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> > const&) addr2line failed
  [17] #5  Foam::kOmegaSST<Foam::eddyViscosity<Foam::RASModel<Foam::IncompressibleTurbulenceModel<Foam::transportModel> > >, Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() addr2line failed
  [18] #5  Foam::kOmegaSST<Foam::eddyViscosity<Foam::RASModel<Foam::IncompressibleTurbulenceModel<Foam::transportModel> > >, Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() addr2line failed
  [17] #6  ? addr2line failed
  [18] #6  ? addr2line failed
  [17] #7  __libc_start_main addr2line failed
  [18] #7  __libc_start_main addr2line failed
  [17] #8  ? addr2line failed
  [18] #8  ? addr2line failed
   addr2line failed
Do you have any Ideas?

Kind regards.
Zentari is offline   Reply With Quote

Old   May 9, 2021, 09:27
Default Squat
  #2
New Member
 
Join Date: Aug 2020
Posts: 2
Rep Power: 0
Jesswin27 is on a distinguished road
Hi,

Did you solved this issue? I am also facing similar issue in OPENFOAM. I imported mesh from STARCCM and modified the setup of DTC hull (Given in tutorials). This mesh works fine in Starccm. But the resistance value shoots up in OPENFOAM. I only changed the bottom boundary condition to "wall" from "symmetry plane".
Jesswin27 is offline   Reply With Quote

Reply

Tags
freesurface, shallow water, ship hydrodynamics

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
Mass imbalance problem in multiphase water and steam CFX case Antech CFX 1 October 26, 2020 04:03
No liquid water exist in my Fuel Cell simulation fatchang FLUENT 19 October 15, 2018 14:27
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
Shallow water + VOF MIT OpenFOAM Running, Solving & CFD 4 May 26, 2011 20:27


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