Merge pull request #572 from berndhahnebach/femdev

FEM typos
This commit is contained in:
wwmayer 2017-03-01 12:30:43 +01:00 committed by GitHub
commit e594ade52e
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'
if not fluidsec_short_name:
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
else:
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::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::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", "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::PropertyFloat", "InletPressure", "LiquidInlet", "set inlet pressure for fluid section")
obj.addProperty("App::PropertyFloat", "OutletPressure", "LiquidOutlet", "set outlet pressure for fluid section")