mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: update tutorials to use dictionary-style sets
- can now specify sampled sets as dictionary entries instead of a list
entry.
can now use: sets { ... }
instead of: sets ( ... );
This is similar to sampled surfaces and makes it easier to
manage with dictionary manipulation tools.
TUT: update to use writeTime instead of outputTime
This commit is contained in:
@ -55,7 +55,7 @@ functions
|
||||
type heatTransferCoeff;
|
||||
libs (fieldFunctionObjects);
|
||||
field T;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
htcModel fixedReferenceTemperature;
|
||||
patches (ceiling);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2112 |
|
||||
| \\ / O peration | Version: v2206 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -18,10 +18,11 @@ type sets;
|
||||
libs (sampling);
|
||||
interpolationScheme cellPointFace;
|
||||
setFormat raw;
|
||||
|
||||
fields ( T U );
|
||||
|
||||
sets
|
||||
(
|
||||
{
|
||||
y0.1
|
||||
{
|
||||
type face;
|
||||
@ -85,7 +86,7 @@ sets
|
||||
start (-1 1.962 0);
|
||||
end (1 1.962 0);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2112 |
|
||||
| \\ / O peration | Version: v2206 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -50,14 +50,14 @@ functions
|
||||
{
|
||||
type sets;
|
||||
libs (sampling);
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
region solid;
|
||||
fields (T jouleHeatingSource:V jouleHeatingSource:sigma);
|
||||
interpolationScheme cellPoint;
|
||||
setFormat raw;
|
||||
|
||||
sets
|
||||
(
|
||||
{
|
||||
centreLine
|
||||
{
|
||||
type uniform;
|
||||
@ -66,7 +66,7 @@ functions
|
||||
end ( 2.5 0.05 0.05);
|
||||
nPoints 20;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ functions
|
||||
libs (reactingEulerFoamFunctionObjects);
|
||||
region water;
|
||||
field T.liquid;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
htcModel fixedReferenceTemperature;
|
||||
patches (water_to_solid);
|
||||
@ -80,7 +80,7 @@ functions
|
||||
log on;
|
||||
enabled true;
|
||||
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
|
||||
writeFields false;
|
||||
|
||||
Reference in New Issue
Block a user