ETS-Core  version:0.0.4-46-ge2d8
Core actors for the ETS-6
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
current_equation Module Reference

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...
 

Detailed Description

Definition at line 1 of file current_equation.f90.

Member Function/Subroutine Documentation

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)
Parameters
[in]geometrycontains all geometry quantities
[in,out]profilescontains profiles of plasma parameters
[in]transportcontains profiles of trasport coefficients
[in,out]sourcescontains profiles of sources
[in,out]numericscontains all parameters required by run
[out]diagcontains error messages and warnings

The boundary conditions for an equation in $Y$ are described by coefficients $\{V, U, W\}$ and they are on the form:

\[ V*Y' + U*Y = W \]

Formulation of the differential equation for $Y(t)$ for a given $Y(t-dt)$ in terms of the coefficients $\{A, B, C, D, E, F, G\}$ in the SOLVER object.

\[ [A*Y-B*Y(t-dt)]/H + 1/C * [-D*Y(t)' + E*Y(t)]' = F - G*Y \]

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().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this module was generated from the following file: