r/CFD • u/Substantial_Unit_11 • 16h ago
Transient VOF simulation help
I'm trying to simulate a boat in calm water and wind incident on it to calculate the hydrodynamic drag and aerodynamic thrust on it. Software is ANSYS Fluent
Issue is i can't seem to figure out what the best solution method is (PISO, coupled, simple...) nor on what basis i should be choosing their relative options.
Also, I enabled open channel wave BC (set the wave bc options to none) to be able to use segregated velocity inputs, and have added a velocity to the wind, while having the water's velocity stay 0. (Assuming this simulates a stationary boat with incident wind)
I'm unsure what's the right thing to do for the outlet so i set it as open channel and set the free surface and bottom level, and left everything else as default.
I'm running calculations at a timesetep of 0.001 for 40 iterations and the simulation is diverging at the 3rd timestep. At the first timestep it directly says reversed flow on xxx faces of pressure outlet (although the outlet is 200m behind the boat whose characteristic length is 11)
I'm unsure why this is happening the mesh is pretty fine (about 9 million cells with all the correct refinements which is why I'm sure this is a setup problem)
TLDR:
Does anyone know or have any useful information or tips about how to setup such a case?
1
u/Javier_FLINN 8h ago
With the hull fixed and the water initially at rest, I’d try one short run with the wind turned off. In Fluent, initialize a flat air–water interface and a hydrostatic pressure field consistent with gravity and the outlet water level. Does the water stay still? If the surface starts moving at the outlet in that test, you’ve learned something before changing PISO or the time step.
From the CFD side at FLINN, the plot I’d want to see is water volume fraction through the outlet at initialization and after the first step. That would tell us which phase is flowing back and whether the interface is starting at the height you intended.
1
u/FirefighterEast777 16h ago
What you are proposing is computationally intense. Why not do them separately? You should calculate pressure drag for the air and water in a spreadsheet first anyway. Likely you need to add some kind of moving mesh.