OpenFOAM-5.x/tutorials/incompressible/pimpleFoam/laminar/planarContraction/system/graphs
Chris Greenshields 3264ba7ad5 Maxwell model for viscoelasticity using the upper-convected time
derivative of the stress tensor.  See
http://en.wikipedia.org/wiki/Upper-convected_Maxwell_model

The model includes an additional viscosity (nu) from the transport
model from which it is instantiated, which makes it equivalent to the
Oldroyd-B model for the case of an incompressible transport model.
See https://en.wikipedia.org/wiki/Oldroyd-B_model
2016-09-20 18:38:15 +01:00

62 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes graph data for specified fields along a line, specified by start
and end points.
\*---------------------------------------------------------------------------*/
// Sampling and I/O settings
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
// Override settings here, e.g.
// setConfig { type midPoint; }
type sets;
libs ("libsampling.so");
writeControl writeTime;
interpolationScheme cellPoint;
setFormat raw;
setConfig
{
type midPoint; // midPoint
axis distance; // x, y, z, xyz
}
sets
(
lineA
{
$setConfig;
start (-0.0016 0 0);
end (-0.0016 0.0128 0);
}
lineB
{
$setConfig;
start (-0.0048 0 0);
end (-0.0048 0.0128 0);
}
lineC
{
$setConfig;
start (-0.032 0 0);
end (-0.032 0.0128 0);
}
);
fields (U);
// ************************************************************************* //