FMC Model Help Answered


I am running an FMC model in Onscale using 32 elements using the batch control. Every time  the simulation goes onto the next element  OnScale has to load all the material parameters again for every element and the length of the simulations is huge.

I was wondering if there is a way that I only need to load the material properties in once and the simulation will cycle through all the elements ?


Dave :)

1 comment

  • Hi Dave,

    The batch controller doesn't allow this unfortunately. You would have to create a control file yourself to do this. 

    The code would look something like this:

    c Inputs
    symb var1beg = 1e-3
    symb var1end = 2e-3
    symb nvar = 10

    c Loop through models
    do loopV Iv 1 $nvar 1

    c Calculate var
    symb var1 = $var1beg + ( $Iv - 1 ) * ( $var1end - $var1beg ) / ( $nvar - 1 )

    symb #read Materials.prjmat

    symb #submit flex_s.exe simulation.flxinp -s var1=$var1

    end$ loopV

    c Write symbol file
    symb #save batch.symb

    I hope this helps!

    Best Regards,


    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post