|
[Sponsors] |
June 8, 2010, 09:21 |
lift and drag on ship superstructures
|
#1 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
I'm going to study the aerodynamic aspect of ship superstructures. I started with a simple 2D model (see pic 1-2), a top view of a superstructure (abot 30x80 m). I used the simpleFoam solver (with wall functions) and I'd like to have some suggestions. I already studied airfoils and propeller blades in water (convergence before 1000 iterations and correct y+), but now I think I have a few problems about convergence and y+. Here are my boundary conditions:
p Code:
#include "initialConditions" dimensions [0 2 -2 0 0 0 0]; internalField uniform $pressure; boundaryField { inlet { type zeroGradient; } #include "frontBackPatches" outlet { type fixedValue; value $internalField; } main_body { type kqRWallFunction; value $internalField; } } Code:
#include "initialConditions" dimensions [0 1 -1 0 0 0 0]; internalField uniform $flowVelocity; boundaryField { #include "fixedInlet" #include "frontBackPatches" outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } main_body { type fixedValue; value uniform (0 0 0); } } Code:
#include "initialConditions" dimensions [0 2 -2 0 0 0 0]; internalField uniform $turbulentK; boundaryField { #include "fixedInlet" #include "frontBackPatches" main_body { type kqRWallFunction; value $internalField; } outlet { type inletOutlet; inletValue $internalField; value $internalField; } } Code:
#include "initialConditions" dimensions [0 0 -1 0 0 0 0]; internalField uniform $turbulentOmega; boundaryField { #include "fixedInlet" #include "frontBackPatches" main_body { type kqRWallFunction; value $internalField; } outlet { type inletOutlet; inletValue $internalField; value $internalField; } } Code:
FoamFile { version 2.0; format ascii; class dictionary; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default steadyState; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) Gauss linear; // grad(U) cellLimited Gauss linear 1; } divSchemes { default none; div(phi,U) Gauss linearUpwindV Gauss linear; div(phi,k) Gauss upwind; div(phi,omega) Gauss upwind; div((nuEff*dev(grad(U).T()))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; // default Gauss linear limited 0.5; // default Gauss linear limited 0.333; } interpolationSchemes { default linear; interpolate(U) linear; } snGradSchemes { default corrected; } fluxRequired { default no; p; } Code:
FoamFile { version 2.0; format ascii; class dictionary; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { solver GAMG; tolerance 1e-7; relTol 0.1; smoother GaussSeidel; nPreSweeps 0; nPostSweeps 2; cacheAgglomeration on; agglomerator faceAreaPair; nCellsInCoarsestLevel 10; mergeLevels 1; }; U { solver smoothSolver; smoother GaussSeidel; tolerance 1e-8; relTol 0.1; nSweeps 1; }; k { solver smoothSolver; smoother GaussSeidel; tolerance 1e-8; relTol 0.1; nSweeps 1; }; omega { solver smoothSolver; smoother GaussSeidel; tolerance 1e-8; relTol 0.1; nSweeps 1; }; } SIMPLE { nNonOrthogonalCorrectors 0; convergenceCriterion 1e-5; } relaxationFactors { p 0.3; U 0.7; k 0.7; omega 0.7; } I thought about a different mesh (see pic3) but I'm in troubles with inlet and outlet boundary conditions for p and U. I'd like to set different apparent winds, so I believe I can't establish which patch is an inlet or outlet one beforehand. Are there any derived boundary conditions, similar to inletOutlet and outletInlet, to that aim? Thanks for your help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lift and drag calculation | Franny | CFX | 16 | November 27, 2019 13:47 |
Correct lift but wrong pressure drag - possible? | zx | Main CFD Forum | 4 | July 27, 2007 23:38 |
Lift and Drag Coefficients Reliability | Luis | FLUENT | 2 | December 27, 2005 14:45 |
Drag and Lift | Daniel Fisher | Phoenics | 2 | April 8, 2005 03:51 |
drag and lift coefficient | Noé | Siemens | 5 | July 13, 2004 10:21 |