Skip to content

Commit

Permalink
Merge branch 'sampleDS' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
malihass authored Nov 13, 2024
2 parents c327bef + d8da0d8 commit 4a390f0
Show file tree
Hide file tree
Showing 192 changed files with 14,438 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =1
let g:netrw_dirhist_1='/home/openfoam/postProcessing/patchIntegrate(patch=inlet,field=alpha.gas)/0'
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 | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object CO2.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];

#include "${FOAM_CASE}/constant/globalVars"

internalField uniform 0;


boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type fixedValue;
value uniform $f_CO2;
}

outlet
{
//type inletOutlet;
//phi phi.gas;
//inletValue $f_CO2;
//value $f_CO2;
type zeroGradient;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object CO2.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0.0;

boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type zeroGradient;
//type fixedValue;
//value uniform 0.0;
}

outlet
{
type zeroGradient;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
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 | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object H2.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];

#include "${FOAM_CASE}/constant/globalVars"

internalField uniform 0;


boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type fixedValue;
value uniform $f_H2;
}

outlet
{
//type inletOutlet;
//phi phi.gas;
//inletValue $f_H2;
//value $f_H2;
type zeroGradient;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object H2.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0.0;

boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type zeroGradient;
//type fixedValue;
//value uniform 0.0;
}

outlet
{
type zeroGradient;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
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 | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object N2.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];

#include "${FOAM_CASE}/constant/globalVars"

internalField uniform 1;


boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type fixedValue;
value uniform $f_N2;
}

outlet
{
//type inletOutlet;
//phi phi.gas;
//inletValue $f_N2;
//value $f_N2;
type zeroGradient;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object T.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type fixedValue;
value $internalField;
}

outlet
{
type inletOutlet;
phi phi.gas;
inletValue $internalField;
value $internalField;
}

defaultFaces
{
type zeroGradient;
}
}

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
object T.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

outlet
{
type inletOutlet;
phi phi.liquid;
inletValue $internalField;
value $internalField;
}
inlet
{
type fixedValue;
value $internalField;
}
defaultFaces
{
type zeroGradient;
}

}

// ************************************************************************* //
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 | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volVectorField;
object U.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 0.0 0);

#include "${FOAM_CASE}/constant/globalVars"

boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
//type flowRateInletVelocity;
//massFlowRate $mflowRateGas;
//rho thermo:rho.gas;
//value $internalField;
type fixedValue;
value uniform (0 $uGasPhase 0);
}
outlet
{
type pressureInletOutletVelocity;
phi phi.gas;
value $internalField;
}
defaultFaces
{
type slip;
}
}

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

0 comments on commit 4a390f0

Please sign in to comment.