Rheolef  7.1
an efficient C++ finite element environment
oldroyd_theta_scheme< Problem >

Public Member Functions

 oldroyd_theta_scheme ()
 
void initial (const geo &omega, field &tau_h, field &uh, field &ph, string restart)
 
bool solve (field &tau_h, field &uh, field &ph)
 

Public Attributes

Float We
 
Float alpha
 
Float a
 
Float Re
 
Float delta_t
 
Float tol
 
size_t max_iter
 

Protected Member Functions

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
 

Protected Attributes

space Th
 
space Xh
 
space Qh
 
form b
 
form c
 
form d
 
form mt
 
form inv_mt
 
form mu
 
form mp
 
form th
 
field thb
 
Float theta
 
Float lambda
 
Float eta
 
Float nu
 
Float c1
 
Float c2
 
Float c3
 
Float c4
 
Float c5
 
problem_mixed stokes
 

Detailed Description

template<class Problem>
struct oldroyd_theta_scheme< Problem >

Examples
oldroyd_cavity.cc, oldroyd_contraction.cc, and oldroyd_theta_scheme.h.

Definition at line 26 of file oldroyd_theta_scheme.h.

Constructor & Destructor Documentation

◆ oldroyd_theta_scheme()

Member Function Documentation

◆ initial()

void initial ( const geo omega,
field tau_h,
field uh,
field ph,
string  restart 
)
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme2.h.

Definition at line 47 of file oldroyd_theta_scheme2.h.

◆ solve()

bool solve ( field tau_h,
field uh,
field ph 
)
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme2.h.

Definition at line 26 of file oldroyd_theta_scheme2.h.

◆ step()

void step ( const field tau_h0,
const field uh0,
const field ph0,
field tau_h,
field uh,
field ph 
) const
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme2.h.

Definition at line 70 of file oldroyd_theta_scheme2.h.

◆ sub_step1()

void sub_step1 ( const field tau_h0,
const field uh0,
const field ph0,
field tau_h,
field uh,
field ph 
) const
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme3.h.

Definition at line 26 of file oldroyd_theta_scheme3.h.

◆ sub_step2()

void sub_step2 ( const field uh0,
const field tau_h1,
const field uh1,
field tau_h,
field uh 
) const
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme3.h.

Definition at line 42 of file oldroyd_theta_scheme3.h.

◆ residue()

Float residue ( field tau_h,
field uh,
field ph 
) const
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme2.h.

Definition at line 81 of file oldroyd_theta_scheme2.h.

◆ reset()

void reset ( const geo omega)
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme1.h.

Definition at line 31 of file oldroyd_theta_scheme1.h.

◆ update_transport_stress()

void update_transport_stress ( const field uh) const
protected
Examples
oldroyd_theta_scheme.h, and oldroyd_theta_scheme3.h.

Definition at line 65 of file oldroyd_theta_scheme3.h.

Member Data Documentation

◆ We

Float We
Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ alpha

Float alpha
Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ a

Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ Re

Float Re
Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ delta_t

Float delta_t
Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ tol

Float tol
Examples
oldroyd_theta_scheme.h.

Definition at line 42 of file oldroyd_theta_scheme.h.

◆ max_iter

size_t max_iter
Examples
oldroyd_theta_scheme.h.

Definition at line 43 of file oldroyd_theta_scheme.h.

◆ Th

space Th
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 45 of file oldroyd_theta_scheme.h.

◆ Xh

space Xh
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 45 of file oldroyd_theta_scheme.h.

◆ Qh

space Qh
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 45 of file oldroyd_theta_scheme.h.

◆ b

form b
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ c

form c
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ d

form d
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ mt

form mt
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ inv_mt

form inv_mt
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ mu

form mu
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ mp

form mp
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 46 of file oldroyd_theta_scheme.h.

◆ th

form th
mutableprotected
Examples
oldroyd_theta_scheme.h.

Definition at line 47 of file oldroyd_theta_scheme.h.

◆ thb

field thb
mutableprotected
Examples
oldroyd_theta_scheme.h.

Definition at line 48 of file oldroyd_theta_scheme.h.

◆ theta

Float theta
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ lambda

Float lambda
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ eta

Float eta
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ nu

Float nu
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ c1

Float c1
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ c2

Float c2
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ c3

Float c3
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ c4

Float c4
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ c5

Float c5
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 49 of file oldroyd_theta_scheme.h.

◆ stokes

problem_mixed stokes
protected
Examples
oldroyd_theta_scheme.h.

Definition at line 50 of file oldroyd_theta_scheme.h.


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