Edit me

Apply Constant Vectorvalue

Warning

This is a Legacy process and should not be used directly. Please see Assign Scalar Variable To Entities

Description

This process is intended to be used for setting vector values (double) to a variable in a model part.

This process is executed on the following hooks:

  • ExecuteInitialize

Parameters & Defaults

{
    "model_part_name":"PLEASE_CHOOSE_MODEL_PART_NAME",
    "mesh_id": 0,
    "variable_name": "PLEASE_PRESCRIBE_VARIABLE_NAME",
    "is_fixed_x": false,
    "is_fixed_y": false,
    "is_fixed_z": false,
    "modulus" : 1.0,
    "direction": [1.0, 0.0, 0.0]
}

model_part_name: Name of the modelpart in wich the scalar variable will be applied mesh_id: Id of the internal mesh to which the process will be applied. Default 0. variable_name: Name of the variable in which the scalar value will be applied. is_fixed: Sets the value as fixed (true) or not fixed (false). modulus: Scalar value that will be applied. direction: direction of the value applied. It will be normalized.