FEM typos

This commit is contained in:
Kunda 2017-02-28 14:33:30 -05:00 committed by Bernd Hahnebach
parent 8b86bfb2ce
commit c110499d06
2 changed files with 3 additions and 3 deletions

View File

@ -1286,7 +1286,7 @@ def get_ccx_elset_fluid_name(mat_name, fluidsec_name, mat_short_name=None, fluid
mat_short_name = 'Mat0' mat_short_name = 'Mat0'
if not fluidsec_short_name: if not fluidsec_short_name:
fluidsec_short_name = 'Fluid0' fluidsec_short_name = 'Fluid0'
if len(mat_name + fluidsec_name) > 20: # max identifier lenght in CalculiX for beam elsets if len(mat_name + fluidsec_name) > 20: # max identifier length in CalculiX for beam elsets
return mat_short_name + fluidsec_short_name return mat_short_name + fluidsec_short_name
else: else:
return mat_name + fluidsec_name return mat_name + fluidsec_name

View File

@ -44,9 +44,9 @@ class _FemFluidSection:
obj.addProperty("App::PropertyArea", "ManningArea", "LiquidManning", "set area of the manning fluid section") obj.addProperty("App::PropertyArea", "ManningArea", "LiquidManning", "set area of the manning fluid section")
obj.addProperty("App::PropertyLength", "ManningRadius", "LiquidManning", "set hydraulic radius of manning fluid section") obj.addProperty("App::PropertyLength", "ManningRadius", "LiquidManning", "set hydraulic radius of manning fluid section")
obj.addProperty("App::PropertyFloat", "ManningCoefficient", "LiquidManning", "set coefficient of manning fluid section") obj.addProperty("App::PropertyFloat", "ManningCoefficient", "LiquidManning", "set coefficient of manning fluid section")
obj.addProperty("App::PropertyArea", "EnlargeArea1", "LiquidEnlargement", "set intial area of the enlargement fluid section") obj.addProperty("App::PropertyArea", "EnlargeArea1", "LiquidEnlargement", "set initial area of the enlargement fluid section")
obj.addProperty("App::PropertyArea", "EnlargeArea2", "LiquidEnlargement", "set enlarged area of enlargement fluid section") obj.addProperty("App::PropertyArea", "EnlargeArea2", "LiquidEnlargement", "set enlarged area of enlargement fluid section")
obj.addProperty("App::PropertyArea", "ContractArea1", "LiquidContraction", "set intial area of the contraction fluid section") obj.addProperty("App::PropertyArea", "ContractArea1", "LiquidContraction", "set initial area of the contraction fluid section")
obj.addProperty("App::PropertyArea", "ContractArea2", "LiquidContraction", "set contracted area of contraction fluid section") obj.addProperty("App::PropertyArea", "ContractArea2", "LiquidContraction", "set contracted area of contraction fluid section")
obj.addProperty("App::PropertyFloat", "InletPressure", "LiquidInlet", "set inlet pressure for fluid section") obj.addProperty("App::PropertyFloat", "InletPressure", "LiquidInlet", "set inlet pressure for fluid section")
obj.addProperty("App::PropertyFloat", "OutletPressure", "LiquidOutlet", "set outlet pressure for fluid section") obj.addProperty("App::PropertyFloat", "OutletPressure", "LiquidOutlet", "set outlet pressure for fluid section")