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

What farfield settings for komegaSST with o-mesh?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 23, 2015, 06:23
Default What farfield settings for komegaSST with o-mesh?
  #1
Member
 
Klaus
Join Date: Mar 2009
Posts: 70
Rep Power: 8
klausb is on a distinguished road
Hello,

I've changed the mesh and AOA setting approach of a case and can't reproduce the results.

Changes:

1: The mesh was changed from a rectangular mesh created with snappyHexMesh and a tool which helped to get the y+ = 1 right to an o-mesh with y+ = 1.

- the rectangular mesh had the following boundary patches: inlet, outlet, top, bottom, front, back, airfoil
- the o-mesh has front, back, airfoil, farfield

2: The AOA (6.24) was initially set in the mesh, it's now set by setting the x,z components of the velocity in the U (14.6 m/s) file. The mesh was/is in the x,z plane. The directions in the forceCoeffs file to calculate x,z were adjusted accordingly.

Results:

Expected: cl = 1.14 cd = 0.0225
Current result: cl = 1.6 cd = -0.025 (negative!)

Strange U/p results visible in paraFoam (see attachment farfield_error)


U file:

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (14.513 0 1.587); // angle of attack = 6,24 vx=v*cos(6,24), vy=v*sin(6,24)

boundaryField
{
front
{
type empty;
}

back
{
type empty;
}

airfoil
{
type fixedValue;
value uniform (0 0 0);
}

farfield
{
type freestream;
freestreamValue uniform (14.513 0 1.587);
}
}


forceCoeffs file:

forces
{
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 1;

patches ("airfoil");
pName p;
UName U;
rhoName rhoInf;
log true;

CofR (0.25 0 0);

rhoInf 1.225;
}


forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 1;

patches ("airfoil");
pName p;
UName U;
rhoName rhoInf;
log true;

liftDir (-0.108653 0 0.994075);
dragDir (0.994075 0 0.108653);
CofR (0.25 0 0);
pitchAxis (0 1 0);

magUInf 14.6;
rhoInf 1.225;
lRef 1;
Aref 0.1;
}


boundary file:

4
(
front //auto1
{
type empty;
nFaces 40800;
startFace 81300;
}
back //auto2
{
type empty;
nFaces 40800;
startFace 122100;
}
airfoil //auto3
{
type wall;
nFaces 300;
startFace 162900;
}
farfield //auto4
{
type patch;
nFaces 300;
startFace 163200;
}
)



What's wrong with the farfield settings?

What's wrong with the AOA settings?

Klaus
Attached Images
File Type: jpg farfield_error.jpg (11.3 KB, 4 views)
Attached Files
File Type: gz 0.org.tar.gz (832 Bytes, 0 views)
klausb is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
snappyHexMesh & Mesh around a missile sasanghomi OpenFOAM Native Meshers: snappyHexMesh and Others 2 October 15, 2014 19:54
Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Native Meshers: snappyHexMesh and Others 8 September 13, 2012 09:28
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 01:45.