Calculation of adjoint based sensitivities at wall faces. More...
Public Member Functions | |
TypeName ("cylindrical") | |
Runtime type information. More... | |
NURBS3DVolumeCylindrical (const dictionary &dict, const fvMesh &mesh, bool computeParamCoors=true) | |
Construct from components. More... | |
virtual | ~NURBS3DVolumeCylindrical ()=default |
Destructor. More... | |
Public Member Functions inherited from NURBS3DVolume | |
TypeName ("NURBS3DVolume") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, NURBS3DVolume, dictionary,(const dictionary &dict, const fvMesh &mesh, bool computeParamCoors),(dict, mesh, computeParamCoors)) | |
NURBS3DVolume (const dictionary &dict, const fvMesh &mesh, bool computeParamCoors=true) | |
Construct from dictionary. More... | |
NURBS3DVolume (const NURBS3DVolume &) | |
Construct as copy. More... | |
virtual | ~NURBS3DVolume ()=default |
Destructor. More... | |
vector | volumeDerivativeU (const scalar u, const scalar v, const scalar w) const |
Volume point derivative wrt u at point u,v,w. More... | |
vector | volumeDerivativeV (const scalar u, const scalar v, const scalar w) const |
Volume point derivative wrt v at point u,v,w. More... | |
vector | volumeDerivativeW (const scalar u, const scalar v, const scalar w) const |
Volume point derivative wrt w at point u,v,w. More... | |
tensor | JacobianUVW (const vector &u) const |
Jacobian matrix wrt to the volume parametric coordinates. More... | |
scalar | volumeDerivativeCP (const vector &u, const label cpI) const |
Volume point derivative wrt to control point cpI at point u,v,w. More... | |
vectorField | computeControlPointSensitivities (const pointVectorField &pointSens, const labelList &sensitivityPatchIDs) |
vectorField | computeControlPointSensitivities (const volVectorField &faceSens, const labelList &sensitivityPatchIDs) |
vectorField | computeControlPointSensitivities (const boundaryVectorField &faceSens, const labelList &sensitivityPatchIDs) |
vector | computeControlPointSensitivities (const vectorField &faceSens, const label patchI, const label cpI) |
tmp< tensorField > | dndbBasedSensitivities (const label patchI, const label cpI, bool DimensionedNormalSens=true) |
tmp< tensorField > | patchDxDb (const label patchI, const label cpI) |
Get patch dx/db. More... | |
tmp< tensorField > | patchDxDbFace (const label patchI, const label cpI) |
Get patch dx/db. More... | |
tmp< vectorField > | coordinates (const vectorField &uVector) const |
vector | coordinates (const vector &uVector) const |
The same, for a specific point. More... | |
tmp< vectorField > | computeNewPoints (const vectorField &controlPointsMovement) |
Mesh movement based on given control point movement. More... | |
tmp< vectorField > | computeNewBoundaryPoints (const vectorField &controlPointsMovement, const labelList &patchesToBeMoved) |
Boundary mesh movement based on given control point movement. More... | |
void | setControlPoints (const vectorField &newCps) |
Set new control points. More... | |
void | boundControlPointMovement (vectorField &controlPointsMovement) |
scalar | computeMaxBoundaryDisplacement (const vectorField &controlPointsMovement, const labelList &patchesToBeMoved) |
Compute max. displacement at the boundary. More... | |
tmp< vectorField > | getPointsInBox () |
const labelList & | getMap () |
Get map of points in box to mesh points. More... | |
const labelList & | getReverseMap () |
const pointVectorField & | getParametricCoordinates () |
Get parametric coordinates. More... | |
tmp< pointTensorField > | getDxDb (const label cpI) |
Get dxCartesiandb for a certain control point. More... | |
tmp< volTensorField > | getDxCellsDb (const label cpI) |
Get dxCartesiandb for a certain control point on cells. More... | |
label | nUSymmetry () const |
Get number of variables if CPs are moved symmetrically in U. More... | |
label | nVSymmetry () const |
Get number of variables if CPs are moved symmetrically in V. More... | |
label | nWSymmetry () const |
Get number of variables if CPs are moved symmetrically in W. More... | |
const word & | name () const |
Get box name. More... | |
const boolList & | getActiveCPs () const |
Which control points are active? More... | |
const boolList & | getActiveDesignVariables () const |
Which design variables are active? More... | |
const vectorField & | getControlPoints () const |
Get control points. More... | |
bool | confineX1movement () const |
Get confine movements. More... | |
bool | confineX2movement () const |
bool | confineX3movement () const |
const NURBSbasis & | basisU () const |
Get basis functions. More... | |
const NURBSbasis & | basisV () const |
const NURBSbasis & | basisW () const |
void | writeCps (const string="cpsFile") const |
void | writeCpsInDict () const |
Write control points on the local coordinate system. More... | |
void | write () const |
Write parametric coordinates. More... | |
Protected Member Functions | |
vector | transformPointToCartesian (const vector &localCoordinates) const |
Transform a point from its coordinate system to a cartesian system. More... | |
tensor | transformationTensorDxDb (label globalPointIndex) |
void | updateLocalCoordinateSystem (const vectorField &cartesianPoints) |
Update coordinates in the local system based on the cartesian points. More... | |
Protected Member Functions inherited from NURBS3DVolume | |
label | getCPID (const label i, const label j, const label k) const |
Get control point ID from its I-J-K coordinates. More... | |
void | findPointsInBox (const vectorField &meshPoints) |
Find points within control points box. More... | |
void | computeParametricCoordinates (const vectorField &points) |
void | computeParametricCoordinates (tmp< vectorField > tPoints) |
bool | bound (vector &vec, scalar minValue=1e-7, scalar maxValue=0.999999) |
Bound components to certain limits. More... | |
void | determineActiveDesignVariablesAndPoints () |
Create lists with active design variables and control points. More... | |
void | confineBoundaryControlPoints () |
Confine movement in boundary control points if necessary. More... | |
void | continuityRealatedConfinement () |
Confine control point movement to maintain user-defined continuity. More... | |
void | confineControlPointsDirections () |
Confine movement in all control points for user-defined directions. More... | |
void | confineControlPoint (const label cpI) |
Confine all three movements for a prescribed control point. More... | |
void | confineControlPoint (const label cpI, const FixedList< bool, 3 > &) |
Confine specific movements for a prescribed control point. More... | |
void | makeFolders () |
Create folders to store cps and derivatives. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from NURBS3DVolume | |
static autoPtr< NURBS3DVolume > | New (const dictionary &dict, const fvMesh &mesh, bool computeParamCoors=true) |
Return a reference to the selected NURBS model. More... | |
Protected Types inherited from NURBS3DVolume | |
typedef List< FixedList< bool, 3 > > | boolListList3 |
Calculation of adjoint based sensitivities at wall faces.
Definition at line 53 of file NURBS3DVolumeCylindrical.H.
NURBS3DVolumeCylindrical | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
bool | computeParamCoors = true |
||
) |
Construct from components.
Definition at line 126 of file NURBS3DVolumeCylindrical.C.
References mesh.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Transform a point from its coordinate system to a cartesian system.
Implements NURBS3DVolume.
Definition at line 54 of file NURBS3DVolumeCylindrical.C.
References Foam::cos(), Foam::sin(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
protectedvirtual |
Transformation tensor for dxdb, from local coordinate system to cartesian
Implements NURBS3DVolume.
Definition at line 71 of file NURBS3DVolumeCylindrical.C.
References Foam::cos(), Foam::sin(), Vector< Cmpt >::x(), and Vector< Cmpt >::y().
|
protectedvirtual |
Update coordinates in the local system based on the cartesian points.
Implements NURBS3DVolume.
Definition at line 88 of file NURBS3DVolumeCylindrical.C.
References Foam::atan2(), forAll, Foam::New(), GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), R, Foam::sqr(), Foam::sqrt(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), Vector< Cmpt >::z(), and Foam::Zero.
TypeName | ( | "cylindrical" | ) |
Runtime type information.
|
protected |
Translation vector.
Definition at line 62 of file NURBS3DVolumeCylindrical.H.