The syntax is similar to Prescribed Displacements:
icset = metafor.getInitialConditionSet() icset.define(target, field, ampl) icset.define(target, field, ampl, fctMultiChamps , fieldList)
where
target | GObject | meshed geometric entity where the initial condition is prescribed |
field | Field1D | nodal variable to be prescribed |
field | InternalField | Gauss-point variable to be prescribed |
ampl | float | initial value |
fctMulti | Function | spatial dependence |
fieldList | list of dependency fields |
Example: