https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElectromagneticHeatingMaterial.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "ADMaterial.h"
13
Material class used to provide the electric field as a material property and computes the residual co...
const bool _is_vector
True if the supplied variable is a vector.
ADMaterialProperty< RealVectorValue > & _electric_field_complex
Complex electric field material property.
const ADVectorVariableValue & _efield
The electric field defined from a vector variable.
const MooseVariableFieldBase & _electric_field_var
The variable data of the supplied variable for the electric field.
const ADVectorVariableValue & _efield_complex
The complex component of the electric field, needed for time-harmonic formulations.
MooseEnum _solver
The solver formulation the electric field (either ELECTROSTATIC or ELECTROMAGNETIC)
const ADVariableGradient & _grad_potential
The electric field defined from the gradient of a scalar variable.
ADMaterialProperty< Real > & _electric_field_heating
Joule heating residual material property.
virtual void computeFieldValue()
Function that defines the field depending on supplied variable type.
virtual void computeJouleHeating()
Function that defines the residual for Joule heating.
const Real & _heating_scaling
Coefficient to multiply by heating term.
MooseEnum _formulation
The domain formulation of the EM residuals (either TIME or FREQUENCY)
ADMaterialProperty< RealVectorValue > & _electric_field
Electric field material property.
const ADMaterialProperty< Real > & _elec_cond
Real component of the material conductivity (in S/m)
const InputParameters & parameters() const
VariableGradientTempl< true > ADVariableGradient