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
49 changes: 49 additions & 0 deletions RAE2822_Airfoil_HISA/0_orig/T
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: plus |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include/freestreamConditions"
dimensions [0 0 0 1 0 0 0];

internalField uniform $T;

boundaryField
{
"wing.*"
{
type characteristicWallTemperature;
value $internalField;
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type characteristicFarfieldTemperature;
#include "include/freestreamConditions"
value $internalField;
//type inletOutlet;
//inletValue $internalField;
//value $internalField;
}
}


// ************************************************************************* //
51 changes: 51 additions & 0 deletions RAE2822_Airfoil_HISA/0_orig/U
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: plus |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include "include/freestreamConditions"

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

internalField uniform $U;

boundaryField
{
"wing.*"
{
type boundaryCorrectedFixedValue;
value uniform (0 0 0);
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type characteristicFarfieldVelocity;
#include "include/freestreamConditions"
value uniform (0 0 0);
//type inletOutlet;
//inletValue $internalField;
//value $internalField;
}
}


// ************************************************************************* //
45 changes: 45 additions & 0 deletions RAE2822_Airfoil_HISA/0_orig/alphat
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / 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
{
"wing.*"
{
type boundaryCorrectedFixedValue;
value uniform 0;
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type calculated;
value $internalField;
}
}


// ************************************************************************* //
14 changes: 14 additions & 0 deletions RAE2822_Airfoil_HISA/0_orig/include/freestreamConditions
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*--------------------------------*- C++ -*----------------------------------*\
| |
| HiSA: High Speed Aerodynamic solver |
| Copyright (C) 2014-2017 Johan Heyns - CSIR, South Africa |
| Copyright (C) 2014-2017 Oliver Oxtoby - CSIR, South Africa |
| |
\*---------------------------------------------------------------------------*/

U (233.603 0 0);
p 108988.0;
T 255.56;
#inputMode merge

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

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

internalField uniform 4.5e-05;

boundaryField
{
"wing.*"
{
type boundaryCorrectedFixedValue;
value uniform 0.0;
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
}


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

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

internalField uniform 0;

boundaryField
{
"wing.*"
{
type boundaryCorrectedNutLowReWallFunction;
value uniform 0;
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type calculated;
value $internalField;
}

}


// ************************************************************************* //
51 changes: 51 additions & 0 deletions RAE2822_Airfoil_HISA/0_orig/p
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: plus |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include/freestreamConditions"

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

internalField uniform $p;

boundaryField
{
"wing.*"
{
type characteristicWallPressure;
value $internalField;
}
symmetry1
{
type symmetry;
}
symmetry2
{
type symmetry;
}
inout
{
type characteristicFarfieldPressure;
#include "include/freestreamConditions"
value $internalField;

//type outletInlet;
//outletValue $internalField;
//value $internalField;
}
}


// ************************************************************************* //
24 changes: 24 additions & 0 deletions RAE2822_Airfoil_HISA/Allclean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

while true
do
read -p "Delete everything and resume to the default setup (y/n)?" yn
case $yn in
[Yy]* )
# clean everyting
echo "Cleaning..."
rm -rf 0
rm -rf postProcessing
rm -rf constant/extendedFeatureEdgeMesh
rm -rf constant/triSurface
rm -rf constant/polyMesh/
rm -rf *.bin *.info *.dat *.xyz *.stl *.txt
rm -rf processor* 0.0000*
rm -rf {1..9}*
exit
;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done

50 changes: 50 additions & 0 deletions RAE2822_Airfoil_HISA/constant/thermophysicalProperties
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*--------------------------------*- C++ -*----------------------------------*\
| |
| HiSA: High Speed Aerodynamic solver |
| Copyright (C) 2014-2017 Johan Heyns - CSIR, South Africa |
| Copyright (C) 2014-2017 Oliver Oxtoby - CSIR, South Africa |
| |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type hePsiThermo;
mixture pureMixture;
transport const;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}


mixture
{
specie
{
nMoles 1;
molWeight 28.966;
}
thermodynamics
{
Cp 1005;
Hf 0;
}
transport
{
mu 1.8e-5;
Pr 0.700000;
TRef 300.000000;
}
}

// ************************************************************************* //
Loading