tag:github.com,2008:https://github.com/OpenFOAM/OpenFOAM-dev/releasesRelease notes from OpenFOAM-dev2025-02-16T11:46:43Ztag:github.com,2008:Repository/27826728/202502172025-02-16T11:46:43Z20250217<p>multiphaseEuler: nAlphaSubCycles is now a Function1 of the alpha Cour…</p>OpenFOAMtag:github.com,2008:Repository/27826728/202501232025-01-23T19:02:56Z20250123<p>externalTemperature BC: fixed indentation</p>OpenFOAMtag:github.com,2008:Repository/27826728/202412132024-12-13T17:28:06Z20241213: power: new function object for calculating power fields<p>Class<br>
Foam::functionObjects::power</p>
<p>Description<br>
Evaluates and writes the following power fields.<br>
\verbatim<br>
+ tauUSf: tauf & Uf<br>
+ divTauU: fvc::div(tauUSf)<br>
+ divTauDotU: fvc::div(tauf) & U<br>
+ tauDDotGradU: divTauU - divTauDotU</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="+ pUSf: -pIf & Uf
+ divPU: fvc::div(pUSf)
+ gradPU: -fvc::grad(p) & U
+ pDivU: divPU - gradPU
+ stressUSf: tauUSf + pUSf
+ divStressU: fvc::div(stressUSf)
+ divStressDotU: fvc::div(stressf) & U
+ stressDDotGradU: divStressU - divStressDotU
\endverbatim
where:
\verbatim
+ p, U = cell centre pressure and velocity
+ pIf, Uf = face normal pressure force, and velocity, vectors
+ tauf = face shear force [-transport.devTau()*mesh().magSf()]
+ stressf = tauf - pIf
\endverbatim
The domain integral of the volume fields (all except '...Sf' fields)
is also printed to a log file in the postProcessing directory.
Domain integrals are scaled by a factor, which defaults to 1e9, to
make them easier to process."><pre class="notranslate"><code>+ pUSf: -pIf & Uf
+ divPU: fvc::div(pUSf)
+ gradPU: -fvc::grad(p) & U
+ pDivU: divPU - gradPU
+ stressUSf: tauUSf + pUSf
+ divStressU: fvc::div(stressUSf)
+ divStressDotU: fvc::div(stressf) & U
+ stressDDotGradU: divStressU - divStressDotU
\endverbatim
where:
\verbatim
+ p, U = cell centre pressure and velocity
+ pIf, Uf = face normal pressure force, and velocity, vectors
+ tauf = face shear force [-transport.devTau()*mesh().magSf()]
+ stressf = tauf - pIf
\endverbatim
The domain integral of the volume fields (all except '...Sf' fields)
is also printed to a log file in the postProcessing directory.
Domain integrals are scaled by a factor, which defaults to 1e9, to
make them easier to process.
</code></pre></div>
<p>Usage<br>
An example is given below of a function object specification in the<br>
system/functions file with a scaling factor of 1e6 for the domain<br>
integrals<br>
\verbatim<br>
power<br>
{<br>
type power;<br>
libs ("libfieldFunctionObjects.so");<br>
executeControl writeTime;<br>
writeControl writeTime;<br>
log true;<br>
factor 1e6;<br>
}<br>
\endverbatim</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Alternatively it can be specified using the standard 'power'
function object configuration file as follows
\verbatim
#includeFunc power(factor=1e6)
\endverbatim"><pre class="notranslate"><code>Alternatively it can be specified using the standard 'power'
function object configuration file as follows
\verbatim
#includeFunc power(factor=1e6)
\endverbatim
</code></pre></div>OpenFOAMtag:github.com,2008:Repository/27826728/202411252024-11-22T18:52:22Z20241125<p>masterUncollatedFileOperation: replaced regIOobject::operator= with I…</p>OpenFOAMtag:github.com,2008:Repository/27826728/202411022024-11-01T19:52:11Z20241102<p>RaviPetersen: Added check for EGR which is not supported by this model</p>OpenFOAMtag:github.com,2008:Repository/27826728/202409022024-08-19T10:29:06Z20240902<p>etc/codeTemplates/dynamicCode/psiuMulticomponentThermo: egrMixture ->…</p>OpenFOAMtag:github.com,2008:Repository/27826728/202408042024-08-02T13:57:58Z20240804<p>UIndirectList: Added comparison operators</p>OpenFOAMtag:github.com,2008:Repository/27826728/202407282024-07-28T09:11:01Z20240728<p>bash_completion: updated</p>OpenFOAMtag:github.com,2008:Repository/27826728/202407072024-07-06T13:47:50Z20240707<p>Documentation: Updated for Doxygen 1.11.0</p>OpenFOAMtag:github.com,2008:Repository/27826728/version-122024-07-06T15:05:17Zversion-12<p>Created tag for OpenFOAM-12</p>OpenFOAM