Main Page | User's guide | Class Hierarchy | Class List | File List | Class Members

Multivac::CFireModel< T > Class Template Reference

The speed rate is given by the model proposed Fendell and Wolff. More...

#include <firemodel.hxx>

Inheritance diagram for Multivac::CFireModel< T >:

Multivac::CSpeedFunction< T > List of all members.

Public Member Functions

 CFireModel () throw ()
 Default constructor.

 CFireModel (T U_, T m_, T c_1_, T epsilon_0_, T a_, T b_, T epsilon_1_) throw ()
 Main constructor.

 ~CFireModel () throw ()
 Destructor.

virtual void Init (CMesh< T > &Mesh)
 Initializes speed function: memory allocation.

virtual T operator() (T x, T y, T time) const
 Returns speed rate at some point.

virtual T operator() (T x, T y, T time, T nx, T ny, T curvature) const
 Returns speed rate at some point.

virtual T GetMaxF1 (T Xmin, T Xmax, T Ymin, T Ymax, T norm2) const
virtual T GetMaxF2 (T Xmin, T Xmax, T Ymin, T Ymax, T norm2) const
virtual T GetDerivatives (T x, T y, T nx, T ny, T t, T &dFdp, T &dFdx, T &dFdy, T &dFdnx, T &dFdny) const
virtual T Get2ndDerivatives (T x, T y, T nx, T ny, T t, T &dFdpdp, T &dFdpdx, T &dFdpdy, T &dFdpdnx, T &dFdpdny, T &dFdxdx, T &dFdxdy, T &dFdxdnx, T &dFdxdny, T &dFdydy, T &dFdydnx, T &dFdydny, T &dFdnxdnx, T &dFdnxdny, T &dFdnydny) const
void SetRate (T new_parameter)

Protected Attributes

U
 Magnitude of the wind velocity.

m
 Parameter (for v_f).

c_1
 Parameter (for v_f).

epsilon_0
 Parameter (for v_f, epsilon and beta).

a
 Parameter (for beta).

b
 Parameter (for beta).

epsilon_1
 Parameter (for epsilon).


Detailed Description

template<class T>
class Multivac::CFireModel< T >

The speed rate is given by the model proposed Fendell and Wolff.

The speed rate is defined as follows:

theta is the angle between the normal to the front and the wind direction.
If |theta| < pi / 2
F(U, theta) = v_f(U cos(theta)) + beta(U sin^mu(theta))
else
F(U, theta) = beta(U sin^mu(theta)) + epsilon(U cos^2(theta)).
where v_f defines the speed rate at the head of the front,
beta defines the speed rate at the flank, and
epsilon is the speed rate at the rear.


Constructor & Destructor Documentation

template<class T>
Multivac::CFireModel< T >::CFireModel  )  throw ()
 

Default constructor.

Warning:
Nothing is defined.

template<class T>
Multivac::CFireModel< T >::CFireModel U_,
m_,
c_1_,
epsilon_0_,
a_,
b_,
epsilon_1_
throw ()
 

Main constructor.

Initializes the object with given parameters.

Parameters:
U_ magnitude of wind velocity (for v_f).
m_ parameter (for v_f).
c_1_ parameter (for v_f).
epsilon_0_ parameter (for v_f, epsilon and beta).
a_ parameter (for beta).
b_ parameter (for beta).
epsilon_1_ parameter (for epsilon).
CFL_ CFL number.
coeff_ correction to the CFL number.


Member Function Documentation

template<class T>
T Multivac::CFireModel< T >::Get2ndDerivatives x,
y,
nx,
ny,
t,
T &  dFdpdp,
T &  dFdpdx,
T &  dFdpdy,
T &  dFdpdnx,
T &  dFdpdny,
T &  dFdxdx,
T &  dFdxdy,
T &  dFdxdnx,
T &  dFdxdny,
T &  dFdydy,
T &  dFdydnx,
T &  dFdydny,
T &  dFdnxdnx,
T &  dFdnxdny,
T &  dFdnydny
const [inline, virtual]
 

Returns speed rate and second derivatives at some point.

Parameters:
x abscissa.
y ordinate.
nx normal fisrt-coordinate.
ny normal second-coordinate.
t date.
Returns:
The speed rate at (x, y).

Implements Multivac::CSpeedFunction< T >.

template<class T>
T Multivac::CFireModel< T >::GetDerivatives x,
y,
nx,
ny,
t,
T &  dFdp,
T &  dFdx,
T &  dFdy,
T &  dFdnx,
T &  dFdny
const [inline, virtual]
 

Returns speed rate and derivatives at some point.

Parameters:
x abscissa.
y ordinate.
nx normal fisrt-coordinate.
ny normal second-coordinate.
t date.
dFdp partial derivative of F with respect to p.
dFdx partial derivative of F with respect to x.
dFdy partial derivative of F with respect to y.
dFdnx partial derivative of F with respect to nx.
dFdny partial derivative of F with respect to ny.
Returns:
The speed rate at (x, y).

Implements Multivac::CSpeedFunction< T >.

template<class T>
T Multivac::CFireModel< T >::GetMaxF1 DxMin,
DxMax,
DyMin,
DyMax,
norm2
const [inline, virtual]
 

Returns an upper bound of the maximum (absolute value) of the first derivative of F with respect to Phi_x, where Phi_x = d(Phi)/dx, multiplied by | Phi|_2, i.e. max | F_{Phi_x} | Phi|_2 |. Returns this bound on [DxMin, DxMax] x [DyMin, DyMax].

Parameters:
DxMin minimum of Phi_x.
DxMax maximum of Phi_x.
DyMin minimum of Phi_y.
DyMax maximum of Phi_y.
norm2 an upper bound of | Phi|_2.
Returns:
An upper bound of the maximum (absolute value) of the first derivative of F with respect to Phi_x, multiplied by | Phi|_2.

Implements Multivac::CSpeedFunction< T >.

template<class T>
T Multivac::CFireModel< T >::GetMaxF2 DxMin,
DxMax,
DyMin,
DyMax,
norm2
const [inline, virtual]
 

Returns an upper bound of the maximum (absolute value) of the first derivative of F with respect to Phi_y, where Phi_y = d(Phi)/dy, multiplied by | Phi|_2, i.e. max | F_{Phi_y} | Phi|_2 |. Returns this bound on [DxMin, DxMax] x [DyMin, DyMax].

Parameters:
DxMin minimum of Phi_x.
DxMax maximum of Phi_x.
DyMin minimum of Phi_y.
DyMax maximum of Phi_y.
norm2 an upper bound of | Phi|_2.
Returns:
An upper bound of the maximum (absolute value) of the first derivative of F with respect to Phi_y, multiplied by | Phi|_2.

Implements Multivac::CSpeedFunction< T >.

template<class T>
void Multivac::CFireModel< T >::Init CMesh< T > &  Mesh  )  [inline, virtual]
 

Initializes speed function: memory allocation.

Allocates memory to store speed rates.

Parameters:
Mesh orthogonal mesh.

Implements Multivac::CSpeedFunction< T >.

template<class T>
T Multivac::CFireModel< T >::operator() x,
y,
time,
nx,
ny,
curvature
const [inline, virtual]
 

Returns speed rate at some point.

Parameters:
x abscissa.
y ordinate.
time time.
nx normal fisrt-coordinate.
ny normal second-coordinate.
curvature curvature.
Returns:
The constant speed rate.

Implements Multivac::CSpeedFunction< T >.

template<class T>
T Multivac::CFireModel< T >::operator() x,
y,
time
const [inline, virtual]
 

Returns speed rate at some point.

Parameters:
x abscissa.
y ordinate.
Returns:
The constant speed rate.
Warning:
Undefined function (because the speed function cannot be computed from only x and y).

Implements Multivac::CSpeedFunction< T >.


The documentation for this class was generated from the following files:
Generated on Mon Apr 19 01:59:16 2004 for Multivac by doxygen 1.3.6-20040222