Rheolef  7.1
an efficient C++ finite element environment
oldroyd_theta_scheme.h

The Oldroyd problem by the theta-scheme – class header

template<class Problem>
void initial (const geo& omega, field& tau_h, field& uh, field& ph,
string restart);
bool solve (field& tau_h, field& uh, field& ph);
protected:
void step (const field& tau_h0, const field& uh0, const field& ph0,
field& tau_h, field& uh, field& ph) const;
void sub_step1 (const field& tau_h0, const field& uh0, const field& ph0,
field& tau_h, field& uh, field& ph) const;
void sub_step2 (const field& uh0, const field& tau_h1, const field& uh1,
field& tau_h, field& uh) const;
Float residue (field& tau_h, field& uh, field& ph) const;
void reset (const geo& omega);
void update_transport_stress (const field& uh) const;
public:
size_t max_iter;
protected:
form b, c, d, mt, inv_mt, mu, mp;
mutable form th;
mutable field thb;
};
oldroyd_theta_scheme::c3
Float c3
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::Qh
space Qh
Definition: oldroyd_theta_scheme.h:45
oldroyd_theta_scheme3.h
The Oldroyd problem by the theta-scheme – class body.
oldroyd_theta_scheme::b
form b
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::c2
Float c2
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::max_iter
size_t max_iter
Definition: oldroyd_theta_scheme.h:43
oldroyd_theta_scheme::Re
Float Re
Definition: oldroyd_theta_scheme.h:42
form
see the form page for the full documentation
oldroyd_theta_scheme::mu
form mu
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::alpha
Float alpha
Definition: oldroyd_theta_scheme.h:42
field
see the field page for the full documentation
oldroyd_theta_scheme::c4
Float c4
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::Th
space Th
Definition: oldroyd_theta_scheme.h:45
oldroyd_theta_scheme::solve
bool solve(field &tau_h, field &uh, field &ph)
Definition: oldroyd_theta_scheme2.h:26
oldroyd_theta_scheme::mp
form mp
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::d
form d
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::c1
Float c1
Definition: oldroyd_theta_scheme.h:49
problem_mixed
see the problem_mixed page for the full documentation
space
see the space page for the full documentation
oldroyd_theta_scheme::delta_t
Float delta_t
Definition: oldroyd_theta_scheme.h:42
oldroyd_theta_scheme::eta
Float eta
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::nu
Float nu
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::tol
Float tol
Definition: oldroyd_theta_scheme.h:42
oldroyd_theta_scheme::step
void step(const field &tau_h0, const field &uh0, const field &ph0, field &tau_h, field &uh, field &ph) const
Definition: oldroyd_theta_scheme2.h:70
oldroyd_theta_scheme::inv_mt
form inv_mt
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme
Definition: oldroyd_theta_scheme.h:26
oldroyd_theta_scheme::initial
void initial(const geo &omega, field &tau_h, field &uh, field &ph, string restart)
Definition: oldroyd_theta_scheme2.h:47
oldroyd_theta_scheme::lambda
Float lambda
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme1.h
The Oldroyd problem by the theta-scheme – class body.
oldroyd_theta_scheme::reset
void reset(const geo &omega)
Definition: oldroyd_theta_scheme1.h:31
oldroyd_theta_scheme::c5
Float c5
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme2.h
The Oldroyd problem by the theta-scheme – class body.
oldroyd_theta_scheme::mt
form mt
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::theta
Float theta
Definition: oldroyd_theta_scheme.h:49
oldroyd_theta_scheme::c
form c
Definition: oldroyd_theta_scheme.h:46
oldroyd_theta_scheme::th
form th
Definition: oldroyd_theta_scheme.h:47
Float
see the Float page for the full documentation
oldroyd_theta_scheme::sub_step2
void sub_step2(const field &uh0, const field &tau_h1, const field &uh1, field &tau_h, field &uh) const
Definition: oldroyd_theta_scheme3.h:42
oldroyd_theta_scheme::We
Float We
Definition: oldroyd_theta_scheme.h:42
oldroyd_theta_scheme::a
Float a
Definition: oldroyd_theta_scheme.h:42
oldroyd_theta_scheme::stokes
problem_mixed stokes
Definition: oldroyd_theta_scheme.h:50
oldroyd_theta_scheme::sub_step1
void sub_step1(const field &tau_h0, const field &uh0, const field &ph0, field &tau_h, field &uh, field &ph) const
Definition: oldroyd_theta_scheme3.h:26
oldroyd_theta_scheme::update_transport_stress
void update_transport_stress(const field &uh) const
Definition: oldroyd_theta_scheme3.h:65
oldroyd_theta_scheme::residue
Float residue(field &tau_h, field &uh, field &ph) const
Definition: oldroyd_theta_scheme2.h:81
oldroyd_theta_scheme::Xh
space Xh
Definition: oldroyd_theta_scheme.h:45
oldroyd_theta_scheme::thb
field thb
Definition: oldroyd_theta_scheme.h:48
geo
see the geo page for the full documentation
oldroyd_theta_scheme::oldroyd_theta_scheme
oldroyd_theta_scheme()
Definition: oldroyd_theta_scheme1.h:26