FEM: better module names for CalculiX result reader modules
This commit is contained in:
parent
9431d8ed4c
commit
e07b45d59d
|
@ -111,9 +111,9 @@ SET(FemScripts_SRCS
|
|||
_ViewProviderFemSolverCalculix.py
|
||||
_ViewProviderFemSolverZ88.py
|
||||
_ViewProviderFemMaterial.py
|
||||
ccxDatReader.py
|
||||
ccxFrdReader.py
|
||||
convert2TetGen.py
|
||||
importCcxDatResults.py
|
||||
importCcxFrdResults.py
|
||||
importInpMesh.py
|
||||
importVTKResults.py
|
||||
importZ88Mesh.py
|
||||
|
|
|
@ -1078,7 +1078,7 @@ void FemMesh::writeABAQUS(const std::string &Filename) const
|
|||
static std::map<int, std::string> faceTypeMap;
|
||||
static std::map<int, std::string> volTypeMap;
|
||||
if (elemOrderMap.empty()) {
|
||||
// node order fits with node order in ccxFrdReader.py module to import CalculiX result meshes
|
||||
// node order fits with node order in importCcxFrdResults.py module to import CalculiX result meshes
|
||||
|
||||
// dimension 1
|
||||
//
|
||||
|
|
|
@ -106,8 +106,8 @@ INSTALL(
|
|||
|
||||
# solver CalculiX ccx
|
||||
importInpMesh.py
|
||||
ccxDatReader.py
|
||||
ccxFrdReader.py
|
||||
importCcxDatResults.py
|
||||
importCcxFrdResults.py
|
||||
FemInputWriterCcx.py
|
||||
FemToolsCcx.py
|
||||
FemSolverCalculix.py
|
||||
|
|
|
@ -233,11 +233,11 @@ class FemToolsCcx(FemTools.FemTools):
|
|||
# @param self The python object self
|
||||
def load_results_ccxfrd(self):
|
||||
import os
|
||||
import ccxFrdReader
|
||||
import importCcxFrdResults
|
||||
frd_result_file = os.path.splitext(self.inp_file_name)[0] + '.frd'
|
||||
if os.path.isfile(frd_result_file):
|
||||
result_name_prefix = 'CalculiX_' + self.solver.AnalysisType + '_'
|
||||
ccxFrdReader.importFrd(frd_result_file, self.analysis, result_name_prefix)
|
||||
importCcxFrdResults.importFrd(frd_result_file, self.analysis, result_name_prefix)
|
||||
for m in self.analysis.Member:
|
||||
if m.isDerivedFrom("Fem::FemResultObject"):
|
||||
self.results_present = True
|
||||
|
@ -251,10 +251,10 @@ class FemToolsCcx(FemTools.FemTools):
|
|||
# @param self The python object self
|
||||
def load_results_ccxdat(self):
|
||||
import os
|
||||
import ccxDatReader
|
||||
import importCcxDatResults
|
||||
dat_result_file = os.path.splitext(self.inp_file_name)[0] + '.dat'
|
||||
if os.path.isfile(dat_result_file):
|
||||
mode_frequencies = ccxDatReader.import_dat(dat_result_file, self.analysis)
|
||||
mode_frequencies = importCcxDatResults.import_dat(dat_result_file, self.analysis)
|
||||
else:
|
||||
raise Exception('FEM: No .dat results found at {}!'.format(dat_result_file))
|
||||
if mode_frequencies:
|
||||
|
|
|
@ -36,7 +36,7 @@ if("BUILD_FEM_VTK" in FreeCAD.__cmake__):
|
|||
FreeCAD.addExportType("FEM CFD Result in VTK format (*.vtk *.vtu)", "importVTKResults")
|
||||
|
||||
FreeCAD.addExportType("FEM formats (*.unv *.med *.dat *.inp)", "Fem")
|
||||
FreeCAD.addImportType("CalculiX result (*.frd)", "ccxFrdReader")
|
||||
FreeCAD.addImportType("CalculiX result (*.frd)", "importCcxFrdResults")
|
||||
FreeCAD.addImportType("Mesh from Calculix/Abaqus input file (*.inp)", "importInpMesh")
|
||||
FreeCAD.addImportType("Z88 mesh file (*.txt)", "importZ88Mesh")
|
||||
FreeCAD.addExportType("Z88 mesh file (*.txt)", "importZ88Mesh")
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
__title__ = "ccxDatReader"
|
||||
__title__ = "importCcxDatResults"
|
||||
__author__ = "Przemo Firszt"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
## @package ccxDatReader
|
||||
## @package importCcxDatResults
|
||||
# \ingroup FEM
|
||||
|
||||
import FreeCAD
|
|
@ -26,7 +26,7 @@ __title__ = "FreeCAD Calculix library"
|
|||
__author__ = "Juergen Riegel , Michael Hindley, Bernd Hahnebach"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
## @package ccxFrdReader
|
||||
## @package importCcxFrdResults
|
||||
# \ingroup FEM
|
||||
|
||||
import FreeCAD
|
Loading…
Reference in New Issue
Block a user