spis.Top.Simulation
Class HallThrusterExample

java.lang.Object
  extended byspis.Top.Simulation.Simulation
      extended byspis.Top.Simulation.PlasmaScSimulation
          extended byspis.Top.Simulation.HallThrusterExample

public class HallThrusterExample
extends PlasmaScSimulation

Author:
guest1 To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
protected  ScalSurfField netCur
          net current on spacecraft [A/face]
protected  ScalSurfField scPot
          spacraft potential
 
Fields inherited from class spis.Top.Simulation.PlasmaScSimulation
bdSurfMesh, plasma, sc, scSurfMesh, volMesh
 
Fields inherited from class spis.Top.Simulation.Simulation
results
 
Constructor Summary
HallThrusterExample()
          temporary constructor without meshes, to allow to build this from the framework without meshes
HallThrusterExample(RCCabsSC spacecraft, MmfPlasma plasma)
          Constructor with spacecraft and plasma, which can only be called by the Top object, not from the framework, unless Jython code is enhanced to build a SC and a plasma.
HallThrusterExample(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm)
          Default constructor
 
Method Summary
 void buildScAndPlasma()
          initialisations: builds a spacecraft and a plasma objects (and sets them in PlasmaScSimulation) and the connections between them (particle fluxes, potentials and current transfers)
 XyzData[] getCurveTimePlots()
          returns two arbitrary sets (y(x))(t) for post-processing testing
 Trajectory[] getTrajectories()
          returns two arbitrary trajectories for post-processing testing, which might even be out of the mesh if changed (it is contained in a [0-5]^3 cube, which e.g. fits in Demo_5.geo).
 void init()
          standard initialisations: buffer allocation...
 void integrate(float duration)
          Time integration of the coupled plasma-spacecraft dynamics over the time t.
 
Methods inherited from class spis.Top.Simulation.PlasmaScSimulation
getBdSurfResults, getMFPlasma, getRCCabsSC, getScSurfResults, getVolResults, selectSurfResults, setPlasma, setSC
 
Methods inherited from class spis.Top.Simulation.Simulation
exportUIData, getBdSurfMesh, getGlobalParameters, getResults, getScalTimePlots, getScSurfMesh, getVolMesh, importUIData, selectResults, setBdSurfMesh, setDefaultInputPath, setDefaultOutputPath, setDefaultPaths, setGlobalParameters, setResults, setScSurfMesh, setVolMesh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

netCur

protected ScalSurfField netCur
net current on spacecraft [A/face]


scPot

protected ScalSurfField scPot
spacraft potential

Constructor Detail

HallThrusterExample

public HallThrusterExample(ThreeDUnstructVolMesh vm,
                           ThreeDUnstructSurfMesh bsm,
                           ThreeDUnstructSurfMesh scsm)
Default constructor

Parameters:
vm - volume mesh
bsm - external boundary surface mesh
scsm - spacecraft surface mesh

HallThrusterExample

public HallThrusterExample(RCCabsSC spacecraft,
                           MmfPlasma plasma)
Constructor with spacecraft and plasma, which can only be called by the Top object, not from the framework, unless Jython code is enhanced to build a SC and a plasma.


HallThrusterExample

public HallThrusterExample()
temporary constructor without meshes, to allow to build this from the framework without meshes

Method Detail

init

public void init()
standard initialisations: buffer allocation...


buildScAndPlasma

public void buildScAndPlasma()
initialisations: builds a spacecraft and a plasma objects (and sets them in PlasmaScSimulation) and the connections between them (particle fluxes, potentials and current transfers)


integrate

public void integrate(float duration)
Time integration of the coupled plasma-spacecraft dynamics over the time t.
The results of this time evolution are the update of the plasma and spacecraft state variables (defined in the derived classes). It basically consists in an iteration of calls to the plasma dynamics and spacecraft potential update. Several different versions can be developed in derived classes.

Specified by:
integrate in class Simulation

getCurveTimePlots

public XyzData[] getCurveTimePlots()
returns two arbitrary sets (y(x))(t) for post-processing testing

Overrides:
getCurveTimePlots in class PlasmaScSimulation
See Also:
Simulation.getCurveTimePlots()

getTrajectories

public Trajectory[] getTrajectories()
returns two arbitrary trajectories for post-processing testing, which might even be out of the mesh if changed (it is contained in a [0-5]^3 cube, which e.g. fits in Demo_5.geo).

Overrides:
getTrajectories in class PlasmaScSimulation
See Also:
spis.Top.Simulation.Simulation#getParticleTrajectories()