interprete
Basic class for interpreting a data file. Interpretors allow some operations to be carried out on objects.
ale_neumann_bc_for_grid_problem
Inherits from: interprete
block to indicates the names of the boundary with Neumann BC for the grid problem. By default, in the ALE grid problem, we impose a homogeneous Dirichelt-type BC on the fix boundary. This option allows you to impose also Neumann-type BCs on certain boundary.
Parameters:
- dom (type: string) Name of domain.
- bloc (type: bloc_lecture) between the braces, you must specify the numbers of the mobile borders then list these mobile borders. Example: ALE_Neumann_BC_for_grid_problem dom_name { 1 boundary_name }
beam_model
Inherits from: interprete
Reduced mechanical model: a beam model. Resolution based on a modal analysis. Temporal discretization: Newmark or Hilber-Hughes-Taylor (HHT)
Parameters:
debogft
Inherits from: interprete
not_set
Parameters:
- [mode] (type: string into ['disabled', 'write_pass', 'check_pass']) not_set
- [filename] (type: string) not_set
- [seuil_absolu] (type: float) not_set
- [seuil_relatif] (type: float) not_set
- [seuil_minimum_relatif] (type: float) not_set
debogijk
Inherits from: interprete
not_set
Parameters:
- [mode] (type: string) not_set
- [filename] (type: string) not_set
- [seuil_absolu] (type: float) not_set
- [seuil_relatif] (type: float) not_set
- [seuil_minimum_relatif] (type: float) not_set
dimension
Inherits from: interprete
Keyword allowing calculation dimensions to be set (2D or 3D), where dim is an integer set to 2 or 3. This instruction is mandatory.
Parameters:
- dim (type: int into [2, 3]) Number of dimensions.
dns_qc_double
Inherits from: interprete
Quasi-compressible DNS solver in IJK discretization.
Parameters:
- ijk_splitting (type: string) Name of the IJK_Splitting (mesh partitioning) object used for the computation.
- [tinit] (type: float) Initial physical time of the computation.
- timestep (type: float) Maximum time step.
- [timestep_facsec] (type: float) Safety factor applied to the stability time step (facsec).
- [dt_start] (type: float) Imposed time step for the first iteration.
- nb_pas_dt_max (type: int) Maximum number of time steps to perform.
- multigrid_solver (type: multigrid_solver) Multigrid solver used for the pressure Poisson equation.
- [check_divergence] (type: flag) Flag to compute and print the velocity divergence.
- t_paroi_impose_kmin (type: float) Imposed wall temperature on the kmin boundary.
- t_paroi_impose_kmax (type: float) Imposed wall temperature on the kmax boundary.
- p_thermo_init (type: float) Initial thermodynamic pressure.
- [puit] (type: float) Volumetric heat sink term.
- [smoothing_center_fr] (type: float) Two-layer mixed model: smoothing centre s_c of the hyperbolic-tangent law (cold side).
- [smoothing_factor_fr] (type: float) Two-layer mixed model: smoothing factor s_f of the hyperbolic-tangent law (cold side).
- [re_tau_fr] (type: float) Two-layer mixed model: expected friction Reynolds number on the cold side.
- [re_tau_ch] (type: float) Two-layer mixed model: expected friction Reynolds number on the hot side.
- [ponderation_fr] (type: float) Two-layer mixed model: weighting between functional and structural models on the cold side.
- [ponderation_ch] (type: float) Two-layer mixed model: weighting between functional and structural models on the hot side.
- [center_constant] (type: float) Two-layer mixed model: target model constant C_c at the channel centre.
- cp (type: float) Specific heat capacity at constant pressure of the gas.
- gamma (type: float) Heat capacity ratio (Cp/Cv) of the gas.
- [expression_vx_init] (type: string) Analytical expression (function of x,y,z) for the initial x-velocity.
- [expression_vy_init] (type: string) Analytical expression (function of x,y,z) for the initial y-velocity.
- [expression_vz_init] (type: string) Analytical expression (function of x,y,z) for the initial z-velocity.
- [expression_t_init] (type: string) Analytical expression for the initial temperature field.
- [fichier_reprise_vitesse] (type: string) Name of the .lata file to resume the velocity field from.
- [fichier_reprise_rho] (type: string) Name of the .lata file to resume the density field from.
- [timestep_reprise_vitesse] (type: int) Time step index to read in the velocity resume file.
- [timestep_reprise_rho] (type: int) Time step index to read in the density resume file.
- [debit_massique] (type: float) Target mass flow rate, imposed by a forcing term.
- [t_bulk] (type: float) Target bulk temperature.
- [dump_factor_2] (type: float) Secondary post-processing dump factor.
- [convection_rho_amont] (type: flag) Use the first-order upwind scheme for the density convection.
- [convection_rho_centre2] (type: flag) Use the 2nd-order centered scheme for the density convection.
- [convection_rho_centre4] (type: flag) Use the 4th-order centered scheme for the density convection.
- [convection_velocity_amont] (type: flag) Use the first-order upwind scheme for the velocity convection.
- [convection_velocity_quicksharp] (type: flag) Use the QUICK-SHARP scheme for the velocity convection.
- [convection_velocity_centre2] (type: flag) Use the 2nd-order centered scheme for the velocity convection.
- [variation_cste_modele_fonctionnel] (type: flag) Enable the two-layer mixed model (height-dependent variation of the functional model constant).
- [dumping_factor] (type: float) Damping factor applied to the forcing term.
- [terme_source_acceleration_constant] (type: float) Constant acceleration source term (momentum forcing).
- [dt_post] (type: int) Number of time steps between two post-processing outputs.
- [champs_a_postraiter] (type: list of str) List of field names to post-process.
- [dt_sauvegarde] (type: int) Number of time steps between two checkpoint (save) outputs.
- [dt_raw_data] (type: int) Number of time steps between two raw-data saves.
- [dt_stats] (type: int) Number of time steps between two statistics saves.
- [dt_save_oscillating_cycle_raw_data] (type: float) Time interval for saving raw data over the oscillating cycle.
- [postraiter_sous_pas_de_temps] (type: flag) Flag to post-process at sub-time-steps.
- [nom_sauvegarde] (type: string) Base name of the checkpoint (save) files.
- [nom_reprise] (type: string) Base name of the files to resume the computation from.
- [t_debut_statistiques] (type: float) Physical time at which statistics accumulation starts.
- [dt_post_spectral] (type: int) Number of time steps between two spectral post-processing outputs.
- [spectral_splitting] (type: string) Name of the IJK_Splitting used for spectral post-processing.
- [reprise_spectrale] (type: flag) Flag to resume spectral post-processing data.
- [sauvegarde_splitting] (type: string) Name of the IJK_Splitting used to write checkpoint files.
- [calcul_2d] (type: flag) Flag for a 2D computation.
- [check_stop_file] (type: string) Name of the stop file checked to interrupt the computation.
- [projection_initiale] (type: flag) Flag to perform an initial projection of the velocity field.
- [convection_rho_negligeable] (type: flag) Neglect the density convection term.
- [convection_qdm_negligeable] (type: flag) Neglect the momentum convection term.
- [diffusion_qdm_negligeable] (type: flag) Neglect the momentum diffusion term.
- [diffusion_temp_negligeable] (type: flag) Neglect the temperature diffusion term.
- [disable_solveur_poisson] (type: flag) Disable the pressure Poisson solver.
- [type_velocity_diffusion] (type: string) Form of the (molecular) velocity diffusion used for the shear-stress tensor: simple, simple_with_transpose, full or none.
- [large_eddy_simulation_formulation] (type: string) LES formulation of the filtered low-Mach equations: velocity (filtered velocity) or favre (Favre/density-weighted); none disables it.
- [ijk_grid_geometry_pour_delta] (type: string) Name of the IJK grid geometry used to compute the LES filter width delta.
- [type_velocity_turbulent_diffusion] (type: string) Form of the turbulent velocity diffusion (shear-stress tensor model): simple, simple_with_transpose, full and their *_anisotropic variants.
- [turbulent_viscosity_model] (type: string) Functional eddy-viscosity model: constant, unsrho, smagorinsky, vreman, sigma, wale, amd, amd_comp, amdnoclip, amdscalar, amdscalarnoclip, rds, vss or kobayashi.
- [turbulent_viscosity_dynamic_type] (type: string) Dynamic procedure for the functional eddy viscosity (e.g. dynamic_uu, dynamicglobal_uu).
- [turbulent_viscosity_model_constant] (type: float) Constant of the functional eddy-viscosity model.
- [turbulent_viscosity_tensor_coefficients] (type: list of float) Per-direction (anisotropic) coefficients of the functional eddy-viscosity tensor (count-prefixed list).
- [turbulent_viscosity] (type: flag) Enable the functional (eddy-viscosity) model for the momentum subgrid stress.
- [type_scalar_turbulent_diffusion] (type: string) Form of the turbulent scalar diffusion (heat-flux model): normal or anisotropic.
- [turbulent_diffusivity_model] (type: string) Functional eddy-diffusivity model for the scalar (same model set as turbulent_viscosity_model).
- [turbulent_diffusivity_dynamic_type] (type: string) Dynamic procedure for the functional eddy diffusivity.
- [turbulent_diffusivity_model_constant] (type: float) Constant of the functional eddy-diffusivity model.
- [turbulent_diffusivity_vector_coefficients] (type: list of float) Per-direction (anisotropic) coefficients of the functional eddy-diffusivity vector (count-prefixed list).
- [turbulent_diffusivity] (type: flag) Enable the functional (eddy-diffusivity) model for the scalar subgrid flux.
- [structural_uu_model] (type: string) Structural model for the momentum subgrid (Reynolds) stress tensor.
- [structural_uu_dynamic_type] (type: string) Dynamic procedure for the structural momentum model.
- [structural_uu_model_constant] (type: float) Constant of the structural momentum model.
- [structural_uu_tensor_coefficients] (type: list of float) Per-direction coefficients of the structural momentum tensor (count-prefixed list).
- [structural_uu] (type: flag) Enable the structural model for the momentum subgrid stress.
- [structural_uscalar_model] (type: string) Structural model for the scalar subgrid flux.
- [structural_uscalar_dynamic_type] (type: string) Dynamic procedure for the structural scalar model.
- [structural_uscalar_model_constant] (type: float) Constant of the structural scalar model.
- [structural_uscalar_vector_coefficients] (type: list of float) Per-direction coefficients of the structural scalar vector (count-prefixed list).
- [structural_uscalar] (type: flag) Enable the structural model for the scalar subgrid flux.
- [filter_kernel_name] (type: string) Name of the filter kernel applied by the structural and dynamic LES models.
- [filtrage_convection_qdm] (type: flag) Flag to filter the momentum convection term.
- [filtrage_turbulent_diffusion_qdm] (type: flag) Flag to filter the turbulent momentum diffusion term.
- [filtrage_structural_diffusion_qdm] (type: flag) Flag to filter the structural momentum diffusion term.
- [convection_qdm_sans_rho] (type: flag) Compute the momentum convection without the density factor.
- [convection_qdm_sans_divergence] (type: flag) Compute the momentum convection in non-divergence form.
- [statlata_namelist] (type: list of str) List of fields for the statistics lata output.
- [sauvegarde_post_instantanes] (type: flag) Flag to save instantaneous post-processing fields.
- [lecture_post_instantanes] (type: flag) Flag to read instantaneous post-processing fields.
- [lecture_post_instantanes_filtrer_u] (type: flag) On reading instantaneous fields, filter the velocity.
- [lecture_post_instantanes_filtrer_rho] (type: flag) On reading instantaneous fields, filter the density.
- [lecture_post_instantanes_filtrer_p] (type: flag) On reading instantaneous fields, filter the pressure.
- [lecture_post_instantanes_filtrer_tous] (type: flag) On reading instantaneous fields, filter all fields.
- [compteur_post_instantanes] (type: int) Counter offset for instantaneous post-processing file numbering.
- [old_dtstab] (type: flag) Flag to use the legacy stability time-step computation.
- [amplitude_oscillating_boundary] (type: float) Amplitude of the oscillating boundary forcing.
- [frequency_oscillating_boundary] (type: float) Frequency of the oscillating boundary forcing.
extraire_surface_ale
Inherits from: interprete
Extraire_surface_ALE in order to extract a surface on a mobile boundary (with ALE desciption).
Keyword to specify that the extract surface is done on a mobile domain. The surface mesh is defined by one or two conditions. The first condition is about elements with Condition_elements. For example: Condition_elements x*x+y*y+z*z<1
Will define a surface mesh with external faces of the mesh elements inside the sphere of radius 1 located at (0,0,0). The second condition Condition_faces is useful to give a restriction.
By default, the faces from the boundaries are not added to the surface mesh excepted if option avec_les_bords is given (all the boundaries are added), or if the option avec_certains_bords is used to add only some boundaries.
Parameters:
- domaine (type: string) Domain in which faces are saved
- probleme (type: string) Problem from which faces should be extracted
- [condition_elements] (type: string) not_set
- [condition_faces] (type: string) not_set
- [avec_les_bords] (type: flag) not_set
- [avec_certains_bords] (type: list of str) not_set
fin
Synonyms: end
Inherits from: interprete
Keyword which must complete the data file. The execution of the data file stops when reaching this keyword.
imposer_vit_bords_ale
Inherits from: interprete
For the Arbitrary Lagrangian-Eulerian framework: block to indicate the number of mobile boundaries of the domain and specify the speed that must be imposed on them.
Parameters:
- dom (type: string) Name of domain.
- bloc (type: bloc_lecture) between the braces, you must specify the numbers of the mobile borders of the domain then list these mobile borders and indicate the speed which must be imposed on them Example: Imposer_vit_bords_ALE dom_name { 1 boundary_name Champ_front_ALE 2 -(y-0.1)*0.01 (x-0.1)*0.01 }
imposer_vitesse_lagrangienne
Inherits from: interprete
Imposer une vitesse purement lagrangienne au maillage ALE a partir d'un champ nodal externe.
Parameters:
- dom | domaine (type: string) Nom du domaine ALE cible.
- pb | probleme (type: string) Nom du probleme qui porte le champ de vitesse nodale.
- champ | nom (type: string) Nom du champ nodal dont les valeurs sont referencees comme vitesse du maillage.
interfaces
Inherits from: interprete
not_set
Parameters:
- [bubble_groups] (type: list of int) Group index assigned to each bubble (connected component).
- fichier_reprise_interface (type: string) not_set
- [timestep_reprise_interface] (type: int) not_set
- [lata_meshname] (type: string) not_set
- [remaillage_ft_ijk] (type: remaillage_ft_ijk) not_set
- [use_tryggvason_interfacial_source] (type: remaillage_ft_ijk) not_set
- [portee_force_repulsion] (type: float) Range of the inter-bubble repulsion force.
- [delta_p_max_repulsion] (type: float) Maximum pressure jump of the inter-bubble repulsion force.
- [portee_wall_repulsion] (type: float) Range of the bubble-wall repulsion force.
- [delta_p_wall_max_repulsion] (type: float) Maximum pressure jump of the bubble-wall repulsion force.
- [active_repulsion_paroi] (type: flag) Enable the bubble-wall repulsion force.
- [no_octree_method] (type: int) if the bubbles repel each other, what method should be used to compute relative velocities? Octree method by default, otherwise we used the IJK discretization
- [follow_colors] (type: flag) Track bubble colours (connected-component labels) over time.
- [compute_distance_autres_interfaces] (type: flag) not_set
- [reprise_colors] (type: list of int) Bubble colours to resume (through-yminus tracking).
- [correction_gradient_potentiel] (type: flag) Enable the potential-gradient correction.
- [avoid_duplicata] (type: flag) Avoid creating duplicate bubbles across periodic boundaries.
- [factor_length_duplicata] (type: float) Length factor controlling bubble duplication across periodicity.
- [ncells_forbidden] (type: int) Number of cells in which bubble creation is forbidden.
- [ncells_deleted] (type: int) Number of cells over which bubbles are deleted.
- [frozen] (type: flag) Freeze the interface (no transport).
- [positions_reference] (type: list of float) Reference positions used to track/immobilize bubbles.
- [mean_force] (type: list of float) Mean force applied per bubble.
- [parcours_interface] (type: parcours_interface) Parameters of the interface-traversal (parcours) algorithm.
- [dt_impression_bilan_indicatrice] (type: int) Period (in time steps) for printing the indicator-function balance.
- [verbosite_surface_efficace_face] (type: int) Verbosity level for the effective-surface computation at faces.
- [verbosite_surface_efficace_interface] (type: int) Verbosity level for the effective-surface computation at the interface.
- [seuil_indicatrice_negligeable] (type: float) Threshold below which the indicator function is treated as negligible.
- [use_barycentres_velocity] (type: flag) Use barycentre-based velocities for the interface.
- [read_barycentres_velocity] (type: flag) Read barycentre-based velocities on resume.
- [terme_gravite] (type: string into ['rho_g', 'grad_i']) not_set
multigrid_solver
Inherits from: interprete
Object defining a multigrid solver in IJK discretization
Parameters:
- [coarsen_operators] (type: list of Coarsen_operator_base) List of coarsening operators applied successively to build the multigrid levels.
- [ghost_size] (type: int) Number of ghost cells known by each processor in each of the three directions
- [relax_jacobi] (type: list of float) Parameter between 0 and 1 that will be used in the Jacobi method to solve equation on each grid. Should be around 0.7
- [pre_smooth_steps] (type: list of int) First integer of the list indicates the numbers of integers that has to be read next. Following integers define the numbers of iterations done before solving the equation on each grid. For example, 2 7 8 means that we have a list of 2 integers, the first one tells us to perform 7 pre-smooth steps on the first grid, the second one tells us to perform 8 pre-smooth steps on the second grid. If there are more than 2 grids in the solver, then the remaining ones will have as many pre-smooth steps as the last mentionned number (here, 8)
- [smooth_steps] (type: list of int) First integer of the list indicates the numbers of integers that has to be read next. Following integers define the numbers of iterations done after solving the equation on each grid. Same behavior as pre_smooth_steps
- [nb_full_mg_steps] (type: list of int) Number of multigrid iterations at each level
- [solveur_grossier] (type: solveur_sys_base) Name of the iterative solver that will be used to solve the system on the coarsest grid. This resolution must be more precise than the ones occurring on the fine grids. The threshold of this solver must therefore be lower than seuil defined above.
- [check_residu] (type: int) Flag (0/1) to compute and print the residual of the multigrid solver.
- [seuil] (type: float) Define an upper bound on the norm of the final residue (i.e. the one obtained after applying the multigrid solver). With hybrid precision, as long as we have not obtained a residue whose norm is lower than the imposed threshold, we keep applying the solver
- [iterations_gcp] (type: int) If greater than 0, use the GCP coarse solver and fix its maximum number of iterations.
- [iterations_gmres] (type: int) Maximum number of iterations of the GMRES coarse solver.
- [solv_jacobi] (type: int) Flag (0/1) to use the Jacobi solver as coarse solver.
- [n_krilov] (type: int) Number of Krylov vectors used by the GMRES coarse solver.
- [impr] (type: flag) Flag to display some info on the resolution on eahc grid
- [solver_precision] (type: string into ['mixed', 'double']) Precision with which the variables at stake during the resolution of the system will be stored. We can have a simple or double precision or both. In the case of a hybrid precision, the multigrid solver is launched in simple precision, but the residual is calculated in double precision.
- [iterations_mixed_solver] (type: int) Define the maximum number of iterations in mixed precision solver
projection_ale_boundary
Inherits from: interprete
block to compute the projection of a modal function on a mobile boundary. Use to compute modal added coefficients in FSI.
Parameters:
- dom (type: string) Name of domain.
- bloc (type: bloc_lecture) between the braces, you must specify the numbers of the mobile borders then list these mobile borders and indicate the modal function which must be projected on these boundaries. Example: Projection_ALE_boundary dom_name { 1 boundary_name 3 0.sin(pi*x)*1.e-4 0. }
read
Synonyms: lire
Inherits from: interprete
The 'read' instruction in a TRUST dataset. Overriden from the automatic generation to make the second argument a Objet_u. See also Read_Parser class in base.py module.
Parameters:
- identifier (type: string) Identifier of the class being read. Must match a previous forward Declaration.
- obj (type: objet_u) The object being read.
remaillage_ft_ijk
Inherits from: interprete
not_set
Parameters:
- [pas_remaillage] (type: float) not_set
- [nb_iter_barycentrage] (type: int) not_set
- [relax_barycentrage] (type: float) not_set
- [critere_arete] (type: float) not_set
- [seuil_dvolume_residuel] (type: float) not_set
- [nb_iter_correction_volume] (type: int) not_set
- [nb_iter_remaillage] (type: int) not_set
- [facteur_longueur_ideale] (type: float) not_set
- [equilateral] (type: int) not_set
- [lissage_courbure_coeff] (type: float) not_set
- [lissage_courbure_iterations_systematique] (type: int) not_set
- [lissage_courbure_iterations_si_remaillage] (type: int) not_set
solver_moving_mesh_ale
Inherits from: interprete
Solver used to solve the system giving the mesh velocity for the ALE (Arbitrary Lagrangian-Eulerian) framework.
Parameters:
- dom (type: string) Name of domain.
- bloc (type: bloc_lecture) Example: { PETSC GCP { precond ssor { omega 1.5 } seuil 1e-7 impr } }
structural_dynamic_mesh_model
Inherits from: interprete
Fictitious structural model for mesh motion. Link with MGIS library
Parameters: