front_field_base
Synonyms: champ_front_base
Basic class for fields at domain boundaries.
boundary_field_inward
Inherits from: front_field_base
this field is used to define the normal vector field standard at the boundary in VDF or VEF discretization.
Parameters:
- normal_value (type: string) normal vector value (positive value for a vector oriented outside to inside) which can depend of the time.
champ_front_bruite
Inherits from: front_field_base
Field which is variable in time and space in a random manner.
Parameters:
- nb_comp (type: int) Number of field components.
- bloc (type: bloc_lecture) { [N val L val ] Moyenne m_1.....[m_i ] Amplitude A_1.....[A_ i ]}: Random nois: If N and L are not defined, the ith component of the field varies randomly around an average value m_i with a maximum amplitude A_i. White noise: If N and L are defined, these two additional parameters correspond to L, the domain length and N, the number of nodes in the domain. Noise frequency will be between 2*Pi/L and 2*Pi*N/(4*L). For example, formula for velocity: u=U0(t) v=U1(t)Uj(t)=Mj+2*Aj*bruit_blanc where bruit_blanc (white_noise) is the formula given in the mettre_a_jour (update) method of the Champ_front_bruite (noise_boundary_field) (Refer to the Champ_front_bruite.cpp file).
champ_front_calc
Inherits from: front_field_base
This keyword is used on a boundary to get a field from another boundary. The local and remote boundaries should have the same mesh. If not, the Champ_front_recyclage keyword could be used instead. It is used in the condition block at the limits of equation which itself refers to a problem called pb1. We are working under the supposition that pb1 is coupled to another problem.
Parameters:
- problem_name (type: string) Name of the other problem to which pb1 is coupled.
- bord (type: string) Name of the side which is the boundary between the 2 domains in the domain object description associated with the problem_name object.
- field_name (type: string) Name of the field containing the value that the user wishes to use at the boundary. The field_name object must be recognized by the problem_name object.
champ_front_debit
Inherits from: front_field_base
This field is used to define a flow rate field instead of a velocity field for a Dirichlet boundary condition on Navier-Stokes equations.
Parameters:
- ch (type: front_field_base) uniform field in space to define the flow rate. It could be, for example, champ_front_uniforme, ch_front_input_uniform or champ_front_fonc_txyz that depends only on time.
champ_front_debit_massique
Inherits from: front_field_base
This field is used to define a flow rate field using the density
Parameters:
- ch (type: front_field_base) uniform field in space to define the flow rate. It could be, for example, champ_front_uniforme, ch_front_input_uniform or champ_front_fonc_txyz that depends only on time.
champ_front_debit_qc_vdf
Inherits from: front_field_base
This keyword is used to define a flow rate field for quasi-compressible fluids in VDF discretization. The flow rate is kept constant during a transient.
Parameters:
- dimension | dim (type: int) Problem dimension
- liste (type: bloc_lecture) List of the mass flow rate values [kg/s/m2] with the following syntaxe: { val1 ... valdim }
- [moyen] (type: string) Option to use rho mean value
- pb_name (type: string) Problem name
champ_front_debit_qc_vdf_fonc_t
Inherits from: front_field_base
This keyword is used to define a flow rate field for quasi-compressible fluids in VDF discretization. The flow rate could be constant or time-dependent.
Parameters:
- dimension | dim (type: int) Problem dimension
- liste (type: bloc_lecture) List of the mass flow rate values [kg/s/m2] with the following syntaxe: { val1 ... valdim } where val1 ... valdim are constant or function of time.
- [moyen] (type: string) Option to use rho mean value
- pb_name (type: string) Problem name
champ_front_fonc_pois_ipsn
Inherits from: front_field_base
Boundary field champ_front_fonc_pois_ipsn.
Parameters:
- r_tube (type: float) not_set
- umoy (type: list of float) not_set
- r_loc (type: list of float) not_set
champ_front_fonc_pois_tube
Inherits from: front_field_base
Boundary field champ_front_fonc_pois_tube.
Parameters:
- r_tube (type: float) not_set
- umoy (type: list of float) not_set
- r_loc (type: list of float) not_set
- r_loc_mult (type: list of int) not_set
champ_front_fonc_t
Inherits from: front_field_base
Boundary field that depends only on time.
Parameters:
- val (type: list of str) Values of field components (mathematical expressions).
champ_front_fonc_xyz
Inherits from: front_field_base
Boundary field which is not constant in space.
Parameters:
- val (type: list of str) Values of field components (mathematical expressions).
champ_front_fonction
Inherits from: front_field_base
boundary field that is function of another field
Parameters:
- dim (type: int) Number of field components.
- inco (type: string) Name of the field (for example: temperature).
- expression (type: string) keyword to use a analytical expression like 10.*EXP(-0.1*val) where val be the keyword for the field.
champ_front_lu
Inherits from: front_field_base
boundary field which is given from data issued from a read file. The format of this file has to be the same that the one generated by Ecrire_fichier_xyz_valeur
Example for K and epsilon quantities to be defined for inlet condition in a boundary named \'entree\':
entree frontiere_ouverte_K_Eps_impose Champ_Front_lu dom 2pb_K_EPS_PERIO_1006.306198.dat
Parameters:
- domaine | domain (type: string) Name of domain
- dim (type: int) number of components
- file (type: string) path for the read file
champ_front_med
Inherits from: front_field_base
Field allowing the loading of a boundary condition from a MED file using Champ_fonc_med
Parameters:
- champ_fonc_med (type: field_base) a champ_fonc_med loading the values of the unknown on a domain boundary
champ_front_normal_vef
Inherits from: front_field_base
Field to define the normal vector field standard at the boundary in VEF discretization.
Parameters:
- mot (type: string into ['valeur_normale']) Name of vector field.
- vit_tan (type: float) normal vector value (positive value for a vector oriented outside to inside).
champ_front_parametrique
Inherits from: front_field_base
Parametric boundary field
Parameters:
- fichier (type: string) Filename where boundary fields are read
champ_front_pression_from_u
Inherits from: front_field_base
this field is used to define a pressure field depending of a velocity field.
Parameters:
- expression (type: string) value depending of a velocity (like $2*u_moy^2$).
champ_front_recyclage
Inherits from: front_field_base
This keyword is used on a boundary to get a field from another boundary.
It is to use, in a general way, on a boundary of a local_pb problem, a field calculated from a linear combination of an imposed field g(x,y,z,t) with an instantaneous f(x,y,z,t) and a spatial mean field <f>(t) or a temporal mean field <f>(x,y,z) extracted from a plane of a problem named pb (pb may be local_pb itself):
For each component i, the field F applied on the boundary will be:
F_i(x,y,z,t) = alpha_i*g_i(x,y,z,t) + xsi_i*[f_i(x,y,z,t)- beta_i*<fi>]
Parameters:
- pb_champ_evaluateur (type: pb_champ_evaluateur) not_set
- [distance_plan] (type: list of float) Vector which gives the distance between the boundary and the plane from where the field F will be extracted. By default, the vector is zero, that should imply the two domains have coincident boundaries.
- [ampli_moyenne_imposee] (type: list of float) 2|3 alpha(0) alpha(1) [alpha(2)]: alpha_i coefficients (by default =1)
- [ampli_moyenne_recyclee] (type: list of float) 2|3 beta(0) beta(1) [beta(2)]}: beta_i coefficients (by default =1)
- [ampli_fluctuation] (type: list of float) 2|3 gamma(0) gamma(1) [gamma(2)]}: gamma_i coefficients (by default =1)
- [direction_anisotrope] (type: int into [1, 2, 3]) If an integer is given for direction (X:1, Y:2, Z:3, by default, direction is negative), the imposed field g will be 0 for the 2 other directions.
- [moyenne_imposee] (type: moyenne_imposee_deriv) Value of the imposed g field.
- [moyenne_recyclee] (type: string) Method used to perform a spatial or a temporal averaging of f field to specify <f>. <f> can be the surface mean of f on the plane (surface option, see below) or it can be read from several files (for example generated by the chmoy_faceperio option of the Traitement_particulier keyword to obtain a temporal mean field). The option methode_recyc can be: surfacique, Surface mean for <f> from f values on the plane ; Or one of the following methode_moy options applied to read a temporal mean field <f>(x,y,z): interpolation, connexion_approchee or connexion_exacte
- [fichier] (type: string) not_set
champ_front_tangentiel_vef
Inherits from: front_field_base
Field to define the tangential velocity vector field standard at the boundary in VEF discretization.
Parameters:
- mot (type: string into ['vitesse_tangentielle']) Name of vector field.
- vit_tan (type: float) Vector field standard [m/s].
champ_front_uniforme
Inherits from: front_field_base
Boundary field which is constant in space and stationary.
Parameters:
- val (type: list of float) Values of field components.
champ_front_xyz_debit
Inherits from: front_field_base
This field is used to define a flow rate field with a velocity profil which will be normalized to match the flow rate chosen.
Parameters:
- [velocity_profil] (type: front_field_base) velocity_profil 0 velocity field to define the profil of velocity.
- flow_rate (type: front_field_base) flow_rate 1 uniform field in space to define the flow rate. It could be, for example, champ_front_uniforme, ch_front_input_uniform or champ_front_fonc_t