CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Solving problem (https://www.cfd-online.com/Forums/openfoam-solving/57910-solving-problem.html)

openfoam February 24, 2009 04:29

HI jasak sir I imported Nac
 
HI jasak sir

I imported Naca0012 fluent file to Foam
i used simple foam as solver. the problem is that i am not getting correct U and P distribution for the U=50m/s,I think i am wrong somewhere giving boundary conditions and one more thing for the different angle of attack how to specify velocity
it is component only naa ,like in this case Ux=50cos0 and Uy=50sin0 for 0 AOA.

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

// Field Dictionary

FoamFile
{
version 2.0;
format ascii;

root "/home/openfoam14/OpenFOAM/openfoam14-1.4.1/run/opvenkat";
case "v";
instance "0";
local "";

class volVectorField;
object U;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField uniform (0 0 0);

boundaryField
{
FARFIELD3
{
type zeroGradient;
}

FARFIELD2
{
type fixedValue;
value uniform (50 0 0);
}

FARFIELD1
{
type fixedValue;
value uniform (50 0 0);
}

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

frontAndBackPlanes
{
type empty;
}
}


// ************************************************** *********************** //

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

// Field Dictionary

FoamFile
{
version 2.0;
format ascii;

root "/home/openfoam14/OpenFOAM/openfoam14-1.4.1/run/opvenkat";
case "v";
instance "0";
local "";

class volScalarField;
object p;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
FARFIELD3
{
type fixedValue;
value uniform 0;
}

FARFIELD2
{
type zeroGradient;
}

FARFIELD1
{
type zeroGradient;
}

AIRFOIL
{
type zeroGradient;
}

frontAndBackPlanes
{
type empty;
}
}


// ************************************************** *********************** //


All times are GMT -4. The time now is 06:25.