In this class the problem is implemented in the way that the spatial part is solved using FEniCS[1]_. Hence, the problem
is reformulated to the weak formulation
The part containing the forcing term is treated explicitly, where it is interpolated in the function space.
The other part will be treated in an implicit way.
Parameters:
c_nvars (int, optional) – Spatial resolution, i.e., numbers of degrees of freedom in space.
t0 (float, optional) – Starting time.
family (str, optional) – Indicates the family of elements used to create the function space
for the trail and test functions. The default is 'CG', which are the class
of Continuous Galerkin, a synonym for the Lagrange family of elements, see [2]_.
order (int, optional) – Defines the order of the elements in the function space.
refinements (int, optional) – Denotes the refinement of the mesh. refinements=2 refines the mesh by factor \(2\).
nu (float, optional) – Diffusion coefficient \(\nu\).
c (float, optional) – Constant for the Dirichlet boundary condition :math: c
In this class the problem is implemented in the way that the spatial part is solved using FEniCS[1]_. Hence, the problem
is reformulated to the weak formulation
The forcing term is treated explicitly, and is expressed via the mass matrix resulting from the left-hand side term
\(\int_\Omega u_t v\,dx\), and the other part will be treated in an implicit way.
Parameters:
c_nvars (int, optional) – Spatial resolution, i.e., numbers of degrees of freedom in space.
t0 (float, optional) – Starting time.
family (str, optional) – Indicates the family of elements used to create the function space
for the trail and test functions. The default is 'CG', which are the class
of Continuous Galerkin, a synonym for the Lagrange family of elements, see [2]_.
order (int, optional) – Defines the order of the elements in the function space.
refinements (int, optional) – Denotes the refinement of the mesh. refinements=2 refines the mesh by factor \(2\).
nu (float, optional) – Diffusion coefficient \(\nu\).
In this class the problem is implemented in the way that the spatial part is solved using FEniCS[1]_. Hence, the problem
is reformulated to the weak formulation
The forcing term is treated explicitly, and is expressed via the mass matrix resulting from the left-hand side term
\(\int_\Omega u_t v\,dx\), and the other part will be treated in an implicit way.
Parameters:
c_nvars (int, optional) – Spatial resolution, i.e., numbers of degrees of freedom in space.
t0 (float, optional) – Starting time.
family (str, optional) – Indicates the family of elements used to create the function space
for the trail and test functions. The default is 'CG', which are the class
of Continuous Galerkin, a synonym for the Lagrange family of elements, see [2]_.
order (int, optional) – Defines the order of the elements in the function space.
refinements (int, optional) – Denotes the refinement of the mesh. refinements=2 refines the mesh by factor \(2\).
nu (float, optional) – Diffusion coefficient \(\nu\).