Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added anim...0001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions nacaAirfoil/0/T
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
INLE1
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}

OUTL2
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}

SYMP3
{
type empty;
}

WALL10
{
type zeroGradient;
}
}

// ************************************************************************* //
52 changes: 52 additions & 0 deletions nacaAirfoil/0/U
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (600 148.16 0);

boundaryField
{
INLE1
{
type supersonicFreestream;
pInf 100000;
TInf 300;
UInf (600 148.16 0);
gamma 1.4;
value uniform (600 148.16 0);
}

OUTL2
{
type inletOutlet;
inletValue uniform (600 148.16 0);
value uniform (600 148.16 0);
}

SYMP3
{
type empty;
}

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

// ************************************************************************* //
47 changes: 47 additions & 0 deletions nacaAirfoil/0/alphat
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
INLE1
{
type calculated;
value uniform 0;
}
OUTL2
{
type calculated;
value uniform 0;
}
SYMP3
{
type empty;
}
WALL10
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
}
}


// ************************************************************************* //
51 changes: 51 additions & 0 deletions nacaAirfoil/0/epsilon
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 25000;

boundaryField
{
INLE1
{
type inletOutlet;
inletValue uniform 25000;
value uniform 25000;
}
OUTL2
{
type inletOutlet;
inletValue uniform 25000;
value uniform 25000;
}
SYMP3
{
type empty;
}
WALL10
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 25000;
}
}


// ************************************************************************* //
48 changes: 48 additions & 0 deletions nacaAirfoil/0/k
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 1000;

boundaryField
{
INLE1
{
type inletOutlet;
inletValue uniform 1000;
value uniform 1000;
}
OUTL2
{
type inletOutlet;
inletValue uniform 1000;
value uniform 1000;
}
SYMP3
{
type empty;
}
WALL10
{
type compressible::kqRWallFunction;
value uniform 1000;
}
}


// ************************************************************************* //
49 changes: 49 additions & 0 deletions nacaAirfoil/0/mut
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
INLE1
{
type calculated;
value uniform 0;
}
OUTL2
{
type calculated;
value uniform 0;
}
SYMP3
{
type empty;
}
WALL10
{
type mutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
}
}


// ************************************************************************* //
52 changes: 52 additions & 0 deletions nacaAirfoil/0/p
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 100000;

boundaryField
{
INLE1
{
type zeroGradient;
}

OUTL2
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
gamma 1.3;
fieldInf 100000;
lInf 1;
value uniform 100000;
}

SYMP3
{
type empty;
}

WALL10
{
type zeroGradient;
}
}

// ************************************************************************* //
19 changes: 19 additions & 0 deletions nacaAirfoil/Allrun
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# Get application name
application=`getApplication`

runApplication star3ToFoam prostar/nacaAirfoil

mv constant/polyMesh/boundary temp
sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
temp > constant/polyMesh/boundary
rm temp

#runApplication $application

# ----------------------------------------------------------------- end-of-file
8 changes: 8 additions & 0 deletions nacaAirfoil/Running_Notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
nacaAirfoil
~~~~~~~~~~~
* large domain with airfoil section near centre
* extremely non-orthogonal, highly skew mesh refined around the airfoil
* running at Mach 1.78
* limited corrected 0.5 on all laplacianSchemes because the mesh is so poor
* run to t = 0.02 with nextWrite; change to stopAt endTime to continue running
* deltaT can be increased later in the run to 2e-07
Binary file added nacaAirfoil/VTK/INLE1/INLE1_0.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/INLE1/INLE1_6667.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/OUTL2/OUTL2_0.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/OUTL2/OUTL2_6667.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/SYMP3/SYMP3_0.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/SYMP3/SYMP3_6667.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/WALL10/WALL10_0.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/WALL10/WALL10_6667.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/nacaAirfoil_0.vtk
Binary file not shown.
Binary file added nacaAirfoil/VTK/nacaAirfoil_6667.vtk
Binary file not shown.
Binary file added nacaAirfoil/anim/anim...0000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nacaAirfoil/anim/anim...0001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading