This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a field quantity over a time step. More...
#include "base/cs_defs.h"#include <assert.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "bft/bft_error.h"#include "bft/bft_printf.h"#include "base/cs_array.h"#include "base/cs_assert.h"#include "atmo/cs_at_data_assim.h"#include "atmo/cs_atmo.h"#include "atmo/cs_atmo_aerosol.h"#include "atmo/cs_atmo_source_terms.h"#include "atmo/cs_atmo_profile_std.h"#include "alge/cs_blas.h"#include "base/cs_boundary_conditions.h"#include "alge/cs_bw_time_diff.h"#include "cfbl/cs_cf_model.h"#include "comb/cs_coal.h"#include "pprt/cs_combustion_model.h"#include "ctwr/cs_ctwr.h"#include "ctwr/cs_ctwr_source_terms.h"#include "alge/cs_divergence.h"#include "base/cs_dispatch.h"#include "base/cs_drift_convective_flux.h"#include "elec/cs_elec_model.h"#include "base/cs_equation_iterative_solve.h"#include "alge/cs_face_viscosity.h"#include "base/cs_field.h"#include "base/cs_field_default.h"#include "base/cs_field_operator.h"#include "base/cs_field_pointer.h"#include "alge/cs_gradient.h"#include "gui/cs_gui.h"#include "atmo/cs_intprf.h"#include "lagr/cs_lagr.h"#include "lagr/cs_lagr_precipitation_model.h"#include "base/cs_math.h"#include "base/cs_mass_source_terms.h"#include "base/cs_mem.h"#include "mesh/cs_mesh.h"#include "mesh/cs_mesh_quantities.h"#include "base/cs_parall.h"#include "base/cs_param_types.h"#include "base/cs_physical_constants.h"#include "pprt/cs_physical_model.h"#include "base/cs_prototypes.h"#include "rayt/cs_rad_transfer.h"#include "rayt/cs_rad_transfer_source_terms.h"#include "base/cs_sat_coupling.h"#include "base/cs_scalar_clipping.h"#include "base/cs_syr_coupling.h"#include "base/cs_thermal_model.h"#include "base/cs_time_step.h"#include "turb/cs_turbulence_model.h"#include "turb/cs_turbulence_rij.h"#include "turb/cs_turbulence_rit.h"#include "base/cs_velocity_pressure.h"#include "base/cs_vof.h"#include "base/cs_volume_mass_injection.h"#include "base/cs_wall_condensation.h"#include "base/cs_wall_functions.h"#include "cogz/cs_combustion_gas.h"#include "cogz/cs_steady_laminar_flamelet_source_terms.h"#include "cogz/cs_soot_model.h"#include "comb/cs_coal_source_terms.h"#include "base/cs_solve_equation.h"Functions | |
| void | cs_solve_equation_scalar (cs_field_t *f, int iterns, int itspdv, cs_real_t viscf[], cs_real_t viscb[]) |
| Solve the convection/diffusion equation (with optional source terms and/or drift) for a scalar quantity over a time step. More... | |
| void | cs_solve_equation_vector (cs_field_t *f, int iterns, cs_real_t viscf[], cs_real_t viscb[]) |
| Solve the convection/diffusion equation (with optional source terms and/or drift) for a vectorial quantity over a time step.. More... | |
This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a field quantity over a time step.
| void cs_solve_equation_scalar | ( | cs_field_t * | f, |
| int | iterns, | ||
| int | itspdv, | ||
| cs_real_t | viscf[], | ||
| cs_real_t | viscb[] | ||
| ) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a scalar quantity over a time step.
| [in] | f | pointer to field structure |
| [in] | iterns | Navier-Stokes iteration number |
| [in] | itspdv | indicator to compute production/dissipation terms for a variance:
|
| viscf | visc*surface/dist at internal faces (work array) | |
| viscb | visc*surface/dist at boundary faces (work array) |
| void cs_solve_equation_vector | ( | cs_field_t * | f, |
| int | iterns, | ||
| cs_real_t | viscf[], | ||
| cs_real_t | viscb[] | ||
| ) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a vectorial quantity over a time step..
| [in] | f | pointer to field structure |
| [in] | iterns | Navier-Stokes iteration number |
| viscf | visc*surface/dist at internal faces (work array) | |
| viscb | visc*surface/dist at boundary faces (work array) |