8.1
general documentation
cs_user_electric_scaling.c File Reference

Define scaling parameter for electric model. More...

#include "cs_defs.h"
#include <math.h>
#include "cs_headers.h"
+ Include dependency graph for cs_user_electric_scaling.c:

Functions

void cs_user_scaling_elec (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, cs_real_t *dt)
 Rescale all electro-magnetic physical fields (electric potential, current density and Joule effect). More...
 

Detailed Description

Define scaling parameter for electric model.

Function Documentation

◆ cs_user_scaling_elec()

void cs_user_scaling_elec ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
cs_real_t dt 
)

Rescale all electro-magnetic physical fields (electric potential, current density and Joule effect).

Define scaling parameter for electric model.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in,out]mesh_quantitiespointer to a cs_mesh_quantities_t structure
[in]dtpointer to a cs_real_t

These options allow defining the time step synchronization policy, as well as a time step multiplier.