Click or drag to resize

FluidOptions Class

An object implementing the Fluid Options in Charge Domain.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V26.Charging.DomainFluidOptions

Namespace: ema3d.Api.V26.Charging.Domain
Assembly: ema3d.Api.V26 (in ema3d.Api.V26.dll) Version: 0.0.0.0
Syntax
public sealed class FluidOptions

The FluidOptions type exposes the following members.

Properties
 NameDescription
Public propertyCycleCount Maximum number of cycles used to check for ‘semi-equilibrium’ in fluid system. Is only used when Cycle Results = Coupled.
Public propertyCycleDuration The time of one cycle (s) when Cycle Results is set to True.
Public propertyCycleResults Determines how RF averaged results should be written. True False Coupled.
Public propertyFluidEMModel Fluid EM Model - Space Charge, Conductivity, Null.
Public propertyNumStep Number of fluid time steps.
Public propertyOutputFrequency Output frequency for fluid results.
Public propertyReactionRates Reaction Rates - None, Charge, Chemkin.
Public propertyTimeStep Time step size (s).
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This does not directly wrap the various solver and flux classes, but instead implements some of the wrapped properties of these classes to be used in Charge Domain. Corresponds to the Fluid Options displayed in the UI.
Example
Python
from ema3d.Api.V26.Charging.Domain import ChargeDomain as ChargeDomain
from ema3d.Api.V26.Charging.Domain import ChargingEnvironment as ChargingEnvironment
from ema3d.Api.V26.Charging.Domain import FluidCycleType, ReactionRatesType, FluidSourceType

_cd = ChargeDomain.GetInstance(Window.ActiveWindow.Document)
_cd.SwitchChargingOptions.SimulationType = ChargingEnvironment.Custom

_cd.FluidOptions.NumStep = 50
_cd.FluidOptions.TimeStep = 0.0001
_cd.FluidOptions.OutputFrequency = 1
_cd.FluidOptions.CycleResults = FluidCycleType.False
_cd.FluidOptions.CycleDuration = 7.35E-08
_cd.FluidOptions.CycleCount = 25
_cd.FluidOptions.ReactionRates = ReactionRatesType.None
_cd.FluidOptions.FluidEMModel = FluidSourceType.SpaceCharge
See Also