diff --git a/cmake/bashrc b/cmake/bashrc index d9c1191b..277080d3 100644 --- a/cmake/bashrc +++ b/cmake/bashrc @@ -1,7 +1,7 @@ export pFlow_PROJECT_VERSION=v-1.0 -export pFlow_PROJECT="phasicFlow" +export pFlow_PROJECT="phasicFlow-$pFlow_PROJECT_VERSION" projectDir="$HOME/PhasicFlow" diff --git a/src/MotionModel/entities/conveyorBelt/conveyorBelt.cpp b/src/MotionModel/entities/conveyorBelt/conveyorBelt.cpp index 839d3b84..2e63a5a1 100644 --- a/src/MotionModel/entities/conveyorBelt/conveyorBelt.cpp +++ b/src/MotionModel/entities/conveyorBelt/conveyorBelt.cpp @@ -37,7 +37,7 @@ FUNCTION_H bool pFlow::conveyorBelt::read(const dictionary& dict) { - velocity_ = dict.getVal("velocity"); + tangentVelocity_ = dict.getVal("tangentVelocity"); return true; } @@ -45,10 +45,10 @@ bool pFlow::conveyorBelt::read(const dictionary& dict) FUNCTION_H bool pFlow::conveyorBelt::write(dictionary& dict) const { - if( !dict.add("velocity", velocity_) ) + if( !dict.add("tangentVelocity", tangentVelocity_) ) { fatalErrorInFunction<< - " error in writing velocity to dictionary "<< dict.globalName()<