Skip to content

Commit

Permalink
Merge pull request #38 from eacfd/exper/digitef-dev-2012
Browse files Browse the repository at this point in the history
Updated tutorials
  • Loading branch information
unicfdlab authored May 27, 2021
2 parents 3ed72b1 + c18b9d8 commit 10d04ab
Show file tree
Hide file tree
Showing 19 changed files with 29 additions and 24 deletions.
1 change: 1 addition & 0 deletions tutorials/QGDFoam/1D/Sod/constant/thermophysicalProperties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mixture
{
Cp 1.4;
Hf 0.0;
Tref 0.0;
}
transport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ mixture
{
Cp 1004.5;
Hf 0;
Tref 0;
}
transport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ mixture
Hf 0;
Sf 0;
Cp 2.5;
Tref 0;
}

transport
Expand Down
2 changes: 1 addition & 1 deletion tutorials/QHDFoam/2D/icoCavity/0.orig/T
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FoamFile

dimensions [0 0 0 1 0 0 0];

internalField uniform 0;
internalField uniform 300;

boundaryField
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/QHDFoam/2D/icoCavity/0/T
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FoamFile

dimensions [0 0 0 1 0 0 0];

internalField uniform 0;
internalField uniform 300;

boundaryField
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/SRFQHDFoam/2D/rotor2D/0/Urel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ boundaryField
//value uniform (1 0 0);
type SRFVelocity;
relative false;
inletValue (1 0 0);
inletValue uniform (1 0 0);
value uniform (0 0 0);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ QGD
QGDCoeffs constTau;
constTauDict
{
Tau 1e-5;
Tau 1e-4;
}
/*
QGDCoeffs HbyUQHD;
Expand Down
4 changes: 2 additions & 2 deletions tutorials/SRFQHDFoam/2D/rotor2D/system/controlDict
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ startTime 0;

stopAt endTime;

endTime 1e-2;
endTime 5e-2;

deltaT 1e-6;

writeControl adjustableRunTime;

writeInterval 1e-2;
writeInterval 4.5e-2;

purgeWrite 0;

Expand Down
2 changes: 1 addition & 1 deletion tutorials/interQHDFoam/2D/uDrop/0/U
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion tutorials/interQHDFoam/2D/uDrop/0/alpha.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
4 changes: 2 additions & 2 deletions tutorials/particlesQGDFoam/2D/backwardFacingStep/0.orig/p
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ boundaryField
{
inlet
{
type qhdFlux;
type qgdFlux;
}
outlet
{
Expand All @@ -35,7 +35,7 @@ boundaryField
}
walls
{
type qhdFlux;
type qgdFlux;
}
symwall
{
Expand Down
4 changes: 2 additions & 2 deletions tutorials/particlesQGDFoam/2D/backwardFacingStep/0/p
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ boundaryField
{
inlet
{
type qhdFlux;
type qgdFlux;
}
outlet
{
Expand All @@ -35,7 +35,7 @@ boundaryField
}
walls
{
type qhdFlux;
type qgdFlux;
}
symwall
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ constantProperties
rho0 8800;
T0 300;
Cp0 4100;

Tref 0;
constantVolume false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ mixture
Hf 0;
Sf 0;
Cp 1005;
Tref 0;
}

transport
Expand Down Expand Up @@ -74,17 +75,17 @@ solids
QGD
{
implicitDiffusion false;
QGDCoeffs constTau;
constTauDict
{
Tau 0.1;
}
/*QGDCoeffs constScPrModel1;
// QGDCoeffs constTau;
// constTauDict
// {
// Tau 0.1;
// }
QGDCoeffs constScPrModel1;
constScPrModel1Dict
{
ScQGD 0.0;
PrQGD 0.72;
}*/
}
}

// ************************************************************************* //
2 changes: 1 addition & 1 deletion tutorials/reactingLagrangianQGDFoam/gasDiffusion/0/CH4
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion tutorials/reactingLagrangianQGDFoam/gasDiffusion/0/N2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion tutorials/reactingLagrangianQGDFoam/gasDiffusion/0/O2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion tutorials/reactingLagrangianQGDFoam/gasDiffusion/0/U
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mixture
{
Cp 1.4;
Hf 0.0;
Tref 0;
}
transport
{
Expand Down

0 comments on commit 10d04ab

Please sign in to comment.