Problem with TaggedParticleVectorFieldSaverPrms

Asked by Anton Gladky

Hi, all!

I am trying to created fieldsaver, which will store data for a 1 tagged particle (Force).

wSpitz_file_name="wfSp.dat"
  mySim.createFieldSaver (
    TaggedParticleVectorFieldSaverPrms (
      fieldName="Force",
      fileName=wSpitz_file_name,
      fileFormat="RAW_SERIES",
      beginTimeStep=0,
      endTimeStep=nt,
      timeStepIncr=1,
      tag=5,
      mask=-1
    )
  )

But next error occurs:
  "ERROR - invalid name for particle vector access function"

How can I fix it? How is it possible to get all possible parameters to save?

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Dion Weatherley
Solved:
Last query:
Last reply:
Revision history for this message
Best Dion Weatherley (d-weatherley) said :
#1

Hi Anton,

I think the problem might be as simple as replacing "Force" with "force" in the fieldName argument of the FieldSaver.

Vince has made a couple of tables that aim to help as a look-up for implementing FieldSavers. It is not exhaustive but may help. The tables are available at:
https://twiki.esscc.uq.edu.au/bin/twiki/view/ESSCC/DocumentationAndPresentations

I hope this helps.

Cheers,

Dion.

Revision history for this message
Anton Gladky (gladky-anton) said :
#2

Thanks Dion Weatherley, that solved my question.