|
[Sponsors] |
potentialFreeSurfaceFoam for ship resistance estimation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2015, 07:25 |
potentialFreeSurfaceFoam for ship resistance estimation
|
#1 |
New Member
Join Date: Feb 2015
Posts: 18
Rep Power: 11 |
Hi everyone,
I'm trying to use potentialFreeSurfaceFoam applied to ship hydrodynamic problem. I basically want to simulate flow around a ship hull using this solver and compre the resistance results to those obtain with a VOF method (like interFoam). However, I experienced some trouble, the simulation never seems to converge, I think because of the freeSurface boundary condition. I've tried to solve this with pimpleFoam, with a fixedValue condition at the free Surface and this seems to work very well (even if this condition is not suitable for this problem). Has any of you ever tried to solve this kind of problem? What did you use as BC for the free surface for p_gh and U ??? Thanks a lot! |
|
October 26, 2015, 01:33 |
|
#2 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi Jojo,
I am also interested in same solver to use for the marine applications. Could you tell me that did you have any success for this solver? thank you Baris |
|
June 28, 2020, 18:34 |
Help with wave resistance of a ship
|
#3 |
New Member
Mateus Alves Farah
Join Date: Sep 2019
Posts: 5
Rep Power: 7 |
Hello there, I know that this is a old thread but did you have some success in the issue you posted?
I would really appreciatte if you could share with us, because for me it would help a lot in a validation process that I am doing for my term paper. If you prefer to send a email this is mine: mateusfarah@gmail.com Regards. |
|
November 19, 2020, 21:47 |
|
#4 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Hello,
I too have spent some time trying to use potentialFreeSurfaceFoam to calculate ship hull resistance. First of all I think that there is a misconception surrounding potentialFreeSurfaceFoam. Potential solvers for calculating ship hull pressure distributions and wave patterns have been in use for years and they are known to be reasonably accurate and less computationally expensive compared to FVM. It is my understanding though that potentialFreeSurfaceFoam is not such a solver and it is not simply a version of potentialFoam capable of generating a wave pattern, despite the similar name. I believe the meaning of "potential" in potentialFreeSurfaceFoam is rather related to potential energy, as the solver calculates the height field zeta of the approximated and distorded free surface. potentialFreeSurfaceFoam uses the PIMPLE algorithm, which is the same used also by interFoam. The main difference is that potentialFreeSurfaceFoam deals with one phase only and thus — for simplification — doesn't require the density rho, which is in fact ommitted from the equations. Pressure is calculated based on the height only and rho is only required to calculate forces, if required. Hence, the dynamic pressure variable is p_gh as opposed to p_rgh used by interFoam. The Z component of zeta is calculated by dividing the dynamic pressure by the gravitational acceleration, yielding the height. Thus Code:
zeta Z = h = p_gh / g What I'm not sure about, is if the field zeta is applied back into the calculation, by modifying the total pressure field p. Pressure generates waves, which in turn change the pressure until an equilibrium is found (quasi static wave pattern). Below I've attached pictures of my case and it can be clearly seen, that the wave pattern looks very unphysical. I've tried using a finer mesh from 300k cells to 1.2M, using a very small courant number ~0.05, changed some boundary conditions and replaced two divergence schemes, none of which had any qualitative effect on the wave pattern. It is possible that this solver was never intended for this appplication and that it can approximate only very simple waves in simple geometries like in the oscillatingBox tutorial. The attached pictures are of the 300k cell mesh with a 1 m Wigley hull. Speed is 0.79 m/s with a Froude Number of Fr = 0.252. The time step is 0.002 which gives a CFL Number of about 1. CFL of slightly more than 1 is okay too, the solution runs stable without any additional PIMPLE correctors. If you have any ideas of how to make this work, I'm all ears. Also if you know any potential solver capable of generating a wave pattern, i.e. something similar to what some slender body programs do, I would be grateful for any hint. I'm interested in comparing results with one of those and interFoam. Boundary Conditions: Code:
// volVectorField U internalField uniform ($ShipVelocity 0 0); boundaryField { Inlet { type fixedValue; value $internalField; } Outlet { type zeroGradient; } Left { type fixedValue; value $internalField; } Midplane { type symmetryPlane; } Bottom { type fixedValue; value $internalField; } FreeSurface { type pressureInletOutletVelocity; tangentialVelocity uniform ($internalField); value uniform (0 0 0); } WigleyHull { type noSlip; } } Code:
// volScalarField p // You can use zeroGradient instead of calculated, has same effect internalField uniform 0; boundaryField { Inlet { //type zeroGradient; type calculated; value $internalField; } Outlet { //type zeroGradient; type calculated; value $internalField; } Left { //type zeroGradient; type calculated; value $internalField; } Midplane { type symmetryPlane; } Bottom { //type zeroGradient; type calculated; value $internalField; } FreeSurface { //type zeroGradient; type calculated; value $internalField; } WigleyHull { //type zeroGradient; type calculated; value $internalField; } } Code:
// volScalarField p_gh internalField uniform 0; boundaryField { Inlet { type zeroGradient; } Outlet { type zeroGradient; } Left { type zeroGradient; } Midplane { type symmetryPlane; } Bottom { type zeroGradient; } FreeSurface { type waveSurfacePressure; value $internalField; } WigleyHull { type zeroGradient; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inertial Resistance and Viscous Resistance Data | ravitejakatragadda | FLUENT | 5 | May 10, 2018 05:16 |
Viscous resistance and Pressure resistance | PeiSan | Fidelity CFD | 2 | September 22, 2014 04:35 |
Ship resistance | tobino | FLUENT | 0 | June 27, 2011 21:31 |
adapt viscous resistance based on velocity / UDF | Häwimeddel | FLUENT | 2 | April 20, 2009 11:08 |
tube bank inertial resistance coefficients | Brian | FLUENT | 0 | September 8, 2004 10:04 |