DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation Struct Reference

Constant-rotation reference frame settings. More...

#include <EulerEvaluatorSettings.hpp>

Public Member Functions

real Omega ()
 Compute angular velocity magnitude (rad/s) from RPM.
 
Geom::tPoint vOmega ()
 Return the angular velocity vector (axis * Omega).
 
Geom::tPoint rVec (const Geom::tPoint &r)
 Project a position vector onto the plane perpendicular to the axis.
 
Geom::tGPoint rtzFrame (const Geom::tPoint &r)
 Build the local cylindrical (r, θ, z) coordinate frame at position r.
 
 DNDS_DECLARE_CONFIG (FrameConstRotation)
 

Public Attributes

bool enabled = false
 Enable the rotating frame.
 
Geom::tPoint axis = Geom::tPoint{0, 0, 1}
 Rotation axis (unit vector; normalized in finalize()).
 
Geom::tPoint center = Geom::tPoint{0, 0, 0}
 Center of rotation [x, y, z].
 
real rpm = 0
 Rotational speed in revolutions per minute.
 

Detailed Description

template<EulerModel model>
struct DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation

Constant-rotation reference frame settings.

When enabled, the solver transforms the governing equations into a non-inertial frame rotating at a constant angular velocity about the specified axis through the specified center.

Definition at line 127 of file EulerEvaluatorSettings.hpp.

Member Function Documentation

◆ DNDS_DECLARE_CONFIG()

template<EulerModel model>
DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::DNDS_DECLARE_CONFIG ( FrameConstRotation  )
inline

Definition at line 176 of file EulerEvaluatorSettings.hpp.

◆ Omega()

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::Omega ( )
inline

Compute angular velocity magnitude (rad/s) from RPM.

Returns
Omega = rpm * 2π / 60.

Definition at line 136 of file EulerEvaluatorSettings.hpp.

Here is the caller graph for this function:

◆ rtzFrame()

template<EulerModel model>
Geom::tGPoint DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::rtzFrame ( const Geom::tPoint r)
inline

Build the local cylindrical (r, θ, z) coordinate frame at position r.

Column 0 = radial unit vector, column 1 = tangential (axis × r̂), column 2 = axial (same as the rotation axis).

Parameters
rPosition vector in the absolute frame.
Returns
3×3 matrix whose columns are the (r, θ, z) basis vectors.

Definition at line 167 of file EulerEvaluatorSettings.hpp.

Here is the call graph for this function:

◆ rVec()

template<EulerModel model>
Geom::tPoint DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::rVec ( const Geom::tPoint r)
inline

Project a position vector onto the plane perpendicular to the axis.

Parameters
rPosition vector in the absolute frame.
Returns
Radial component of r (axis-normal projection).

Definition at line 153 of file EulerEvaluatorSettings.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vOmega()

template<EulerModel model>
Geom::tPoint DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::vOmega ( )
inline

Return the angular velocity vector (axis * Omega).

Returns
3-D omega vector aligned with the rotation axis.

Definition at line 143 of file EulerEvaluatorSettings.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ axis

template<EulerModel model>
Geom::tPoint DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::axis = Geom::tPoint{0, 0, 1}

Rotation axis (unit vector; normalized in finalize()).

Definition at line 130 of file EulerEvaluatorSettings.hpp.

◆ center

template<EulerModel model>
Geom::tPoint DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::center = Geom::tPoint{0, 0, 0}

Center of rotation [x, y, z].

Definition at line 131 of file EulerEvaluatorSettings.hpp.

◆ enabled

template<EulerModel model>
bool DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::enabled = false

Enable the rotating frame.

Definition at line 129 of file EulerEvaluatorSettings.hpp.

◆ rpm

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::FrameConstRotation::rpm = 0

Rotational speed in revolutions per minute.

Definition at line 132 of file EulerEvaluatorSettings.hpp.


The documentation for this struct was generated from the following file: