Please wait...
×

Error

Posted Tue, 27 Nov 2018 05:54:59 GMT by Olivier Destin Nuclear Safety Analyst, Radiation Protection & Waste
Dear,

In a two species problem I would like to access the mass#1 and mass#2 values at a specific node through a a function like

[code]IfmGetResultsTransportMassValue (IfmHandle, int);[/code]

May you please tell me how to proceed?

I am using FEFLOW 7.0.

Best regards,

Olivier
Posted Wed, 28 Nov 2018 06:09:19 GMT by Olivier Destin Nuclear Safety Analyst, Radiation Protection & Waste
If it can be useful to other people, here is the answer:

If you need to get information from multiple species, you need first to initialize the species ID and then ask for the result of the mass transport. I have written below the conceptual idea how the plug-in needs to be programmed.

# Set value for first ID

IfmSetMultiSpeciesId

# Get all the values via a loop – specie 1

IfmGetResultsTransportMassValue

# Set value for second ID

IfmSetMultiSpeciesId

# Get all the values via a loop – specie 2

IfmGetResultsTransportMassValue

You must be signed in to post in this forum.