|
[Sponsors] |
August 18, 2021, 07:50 |
|
#21 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Senel,
I have no experience with cavitation so I can only point out the solver you could potentially use, but I never used any of these myself. There is a solver dedicated to cavitation problems which can handle dynamic mesh but not overset:
As for the current latest release (OpenFOAM-v2106), here is the list of the multiphase solvers with overset:
Code:
Description Solver for two incompressible, isothermal, immiscible fluids with phase-change (e.g. cavitation) using VOF (i.e. volume of fluid) phase-fraction based interface capturing, with optional dynamic mesh motion (including overset) and mesh topology changes including adaptive re-meshing. The momentum and other fluid properties are of the "mixture" and a single momentum equation is solved. The set of phase-change models provided are designed to simulate cavitation but other mechanisms of phase-change are supported within this solver framework. Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected. I hope this helps, Yann |
|
August 18, 2021, 16:38 |
|
#22 |
New Member
Senel Canik
Join Date: Aug 2021
Posts: 22
Rep Power: 5 |
Hi Yann,
Thank you very much for your quick reply. I use OpenFOAM-v2012. I will download and install v2106 as soon as possible to be able to use overInterPhaseChangeDyMFoam solver. It makes more sense to me for my cylinder case. Another question: Is it possible to give initial movement to floating object in X direction? I have added velocity (20 0 0); function in DynamicMeshDict, but did not see any X movement. What do you think? Regards, Senel |
|
August 19, 2021, 05:08 |
|
#23 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Senel,
Yes you can specify a displacement in the x direction (fixed displacement or initial condition), as long at the object is free to move in this direction, depending of the constraints applied in the sixDoF model. By default in the floatingBody tutorial, there is a fixedLine contraint along the z axis so the object is not allowed to translate along the x or y axis. Regards, Yann |
|
August 20, 2021, 11:05 |
|
#24 |
New Member
Senel Canik
Join Date: Aug 2021
Posts: 22
Rep Power: 5 |
Hi Yann,
I removed fixedline constraint along Z axis and added velocity (500 0 0); line in dynamicMeshDict. Object moved and rotated freely. It seems there is no interaction with the water. controlDict: deltaT 0.00001; endTime 0.002; writeInterval 0.0001; What do you think? |
|
August 20, 2021, 12:02 |
|
#25 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Senel,
I think it's hard to have an opinion without seeing what result you get. What do you mean by "no interaction with the water"? And can you post your dynamicMeshDict? Yann |
|
August 20, 2021, 12:21 |
|
#26 |
New Member
Senel Canik
Join Date: Aug 2021
Posts: 22
Rep Power: 5 |
Hi Yann,
Here is dynamicMeshDict file: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2106 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // motionSolverLibs (sixDoFRigidBodyMotion); dynamicFvMesh dynamicOversetFvMesh; solver sixDoFRigidBodyMotion; sixDoFRigidBodyMotionCoeffs { patches (floatingObject); innerDistance 100.0; outerDistance 101.0; centreOfMass (0.5 0.5 0.3); // Cuboid dimensions Lx 0.24; Ly 0.24; Lz 0.4; // Density of the solid rhoSolid 700; // Cuboid mass mass #eval{ $rhoSolid*$Lx*$Ly*$Lz }; momentOfInertia (0.29 0.29 0.15); velocity (500 0 0); report on; accelerationRelaxation 0.6; accelerationDamping 0.9; solver { type Newmark; } constraints { } } // ************************************************** *********************** // |
|
August 20, 2021, 12:26 |
|
#27 |
New Member
Senel Canik
Join Date: Aug 2021
Posts: 22
Rep Power: 5 |
"no interaction with the water":
while the floating object moves, there is no change on the surface of the water. There is no color change inside or surface of water to indicate water-air mixture (alpha-water). |
|
September 4, 2021, 11:52 |
|
#28 |
New Member
Senel Canik
Join Date: Aug 2021
Posts: 22
Rep Power: 5 |
Hello Yann,
As you suggest, I have used overInterPhaseChangeDyMFoam solver for my cylinder in water application. I could see the cavitation inside overset meshes but I dont see any cavitation in background meshes which is water in my case. Do you have any suggestion to fix this? Thank you and regards, Senel |
|
September 6, 2021, 12:07 |
|
#29 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Senel,
Isn't it related to mesh resolution in your background? Do you have screenshots showing the issue ? Yann |
|
Tags |
cavitation, overpimpledymfoam, supercavitation, vof |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I use OverPimpleDyMFoam and 6DOF rigid body motion at the same time? | SihunLee | OpenFOAM Running, Solving & CFD | 1 | July 2, 2019 05:01 |
what are the best solvers for P, U, cellDisplacement for overPimpleDyMFoam | kimou | OpenFOAM Pre-Processing | 2 | May 23, 2019 06:39 |
supercavitation | ALI1 | CFX | 1 | March 22, 2010 15:07 |
supercavitation in CFX | Alex | CFX | 2 | December 19, 2006 00:26 |
SUPERCAVITATION | mehrnaz | FLUENT | 0 | March 16, 2004 09:56 |