How to Add a New Variable
From KratosWiki
If you need to add a new variable to Kratos which doesn`t exist 3 passes are needed
1. define the variable it is done in .../kratos/includes/variables.h
KRATOS_DEFINE_VARIABLE(double, DIVPROJ)
2. Create & Register it is done in '.../kratos/sources/variables.cpp
KRATOS_CREATE_VARIABLE(double, DIVPROJ) KRATOS_REGISTER_VARIABLE(double, DIVPROJ)