Skip to content

"projection" block

The "projection" block controls which material fields are projected from quadrature points to nodal output.

json { "projection": { "type": "fullleastsquare", "scalarmate": ["vonMises-stress", "hydrostatic-stress"], "vectormate": ["gradc"], "rank2mate": ["stress", "strain"], "rank4mate": ["jacobian"] } }

Options

  • "type": optional string. Supported values are "default", "leastsquare", and "fullleastsquare". If omitted, the parser keeps the default projection type.
  • "scalarmate": optional array of scalar field names.
  • "vectormate": optional array of vector field names.
  • "rank2mate": optional array of rank-2 tensor field names.
  • "rank4mate": optional array of rank-4 tensor field names.

The old name= entry is not parsed anymore. ReadProjectionBlock.cpp only reads the four material-name lists above.

Every projected name must be a non-empty string and must be different from every DoF name in the "dofs" block.

These names are case-sensitive and must match the field names produced by the element/material implementation. Typical upstream examples include "gradc", "gradu", "stress", "strain", "vonMises-stress", and "hydrostatic-stress".