Skip to content
Snippets Groups Projects
Commit bd77d50b authored by henry's avatar henry
Browse files

Miscellaneous developments from Hilary

parent cf1fa711
Branches
Tags
No related merge requests found
......@@ -43,7 +43,8 @@ addToRunTimeSelectionTable(extrudeModel, linearRadial, dictionary);
linearRadial::linearRadial(const dictionary& dict)
:
extrudeModel(typeName, dict),
R_(readScalar(coeffDict_.lookup("R")))
R_(readScalar(coeffDict_.lookup("R"))),
Rsurface_(coeffDict_.lookupOrDefault<scalar>("Rsurface", -1))
{}
......@@ -65,6 +66,7 @@ point linearRadial::operator()
// radius of the surface
scalar rs = mag(surfacePoint);
vector rsHat = surfacePoint/rs;
if (Rsurface_ >= 0) rs = Rsurface_;
scalar r = rs + (R_ - rs)*sumThickness(layer);
return r*rsHat;
......
......@@ -51,6 +51,7 @@ class linearRadial
// Private data
scalar R_;
scalar Rsurface_;
public:
......
......@@ -25,7 +25,7 @@ Class
Foam::interpolationCell
Description
Foam::interpolationCell
Uses the cell value for any point in the cell
\*---------------------------------------------------------------------------*/
......
......@@ -25,7 +25,8 @@ Class
Foam::interpolationCellPoint
Description
Foam::interpolationCellPoint
Given cell centre values and point (vertex) values decompose into
tetrahedra and linear interpolate within them.
\*---------------------------------------------------------------------------*/
......
......@@ -25,7 +25,8 @@ Class
Foam::volPointInterpolation
Description
Foam::volPointInterpolation
Interpolate from cell centres to points (vertices) using inverse distance
weighting
SourceFiles
volPointInterpolation.C
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment