![]() |
ETS-Core
version:0.0.4-46-ge2d8
Core actors for the ETS-6
|
Public Member Functions | |
subroutine | current (GEOMETRY, PROFILES, TRANSPORT, SOURCES, NUMERICS, DIAG, dump_out_flag) |
This subroutine solves current diffusion equation and provides the flux function, density of parallel current, density of toroidal current, safety factor power density due to Ohmic heating and parallel electric field. More... | |
Definition at line 1 of file current_equation.f90.
subroutine current_equation::current | ( | type (magnetic_geometry), intent(in) | GEOMETRY, |
type (plasma_profiles), intent(inout) | PROFILES, | ||
type (transport_coefficients), intent(in) | TRANSPORT, | ||
type (sources_and_sinks), intent(inout) | SOURCES, | ||
type (transport_solver_numerics), intent(inout) | NUMERICS, | ||
type (diagnostic), intent(out) | DIAG, | ||
integer (ids_int) | dump_out_flag | ||
) |
This subroutine solves current diffusion equation and provides the flux function, density of parallel current, density of toroidal current, safety factor power density due to Ohmic heating and parallel electric field.
Developers: D.Kalupin Contacts: D.Kalupin@euro-fusion.org Comments: reformulation of ETS for the moving grid ( \form#0 terms)
[in] | geometry | contains all geometry quantities |
[in,out] | profiles | contains profiles of plasma parameters |
[in] | transport | contains profiles of trasport coefficients |
[in,out] | sources | contains profiles of sources |
[in,out] | numerics | contains all parameters required by run |
[out] | diag | contains error messages and warnings |
The boundary conditions for an equation in are described by coefficients
and they are on the form:
Formulation of the differential equation for for a given
in terms of the coefficients
in the SOLVER object.
Definition at line 19 of file current_equation.f90.
References type_transport_solver_numerics::allocate_solver(), ets_plasma::bc_type_to_computation_mode_name(), type_transport_solver_numerics::deallocate_solver(), ets_math::deriv_fun(), diagnostic_out_ets::diagnostic_profiles_psi(), diagnostic_out_ets::diagnostic_solver(), ets_math::fix_axis_value(), and solution_interface().
Referenced by transport_equations().