Skip to main content

KRATOS Multiphysics ("Kratos") is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.

Project description

Meshing Application

Meshing Application provides several tools to create, manipulate and interact with meshes. It containts several interfaces to both Kratos thrid party libraries (Triangle, TetGen, MMG)

The application offers the functionalities listed below. If there is an Object without methds it means it can be called using the Execute() function.

Interface

Custom IO

  • PFEMGidIO: A specialized instance of GiDIO for the PFEM Application. It redefines several IO methods:
    • WriteMesh
    • WriteNodeMesh
    • InitializeMesh
    • FinalizeMesh
    • InitializeResults
    • FinalizeResults
    • WriteNodalResults
    • PrintOnGaussPoints
    • Flush
    • CloseResultFile

Utilities

  • MeshTransfer2D

  • MeshTransfer3D:

    • DirectModelPartInterpolation
    • DirectScalarVarInterpolation
    • DirectVectorialVarInterpolation
  • BinBasedMeshTransfer2D

  • BinBasedMeshTransfer3D: Alternative implementation of the MeshTransfer utility based on bins. Inherits the procedures from MeshTransfer and also adds:

    • MappingFromMovingMesh_ScalarVar
    • MappingFromMovingMesh_VectorialVar
    • MappingFromMovingMesh_VariableMeshes_ScalarVar
    • MappingFromMovingMesh_VariableMeshes_VectorialVar
  • LocalRefineTriangleMesh: Refines a Trianglular Mesh.

  • LocalRefinePrismMesh: Refines a Prism Mesh.

  • LocalRefineSPrismMesh: Refines a SPrism Mesh.

  • LocalRefineTetrahedraMesh: Refines a Tetrahedra Mesh.

  • Cutting_Isosurface_Application:

    • GenerateScalarVarCut
    • GenerateVectorialComponentVarCut
    • GenerateVectorialVarCut
    • AddModelPartElements
    • AddSkinConditions
    • UpdateCutData
    • DeleteCutData

Meshers

  • TriGenPFEMModeler:

    • ReGenerateMesh
  • TriGenGLASSModeler:

    • ReGenerateMeshGlass
  • TriGenPFEMModelerVMS:

    • ReGenerateMesh
  • TriGenPFEMSegment:

    • ReGenerateMesh

Processes

  • InternalVariablesInterpolationProcess: Inerpolates Nodal v

Metrics

  • MetricFastInit2D:
  • MetricFastInit3D:

LevelSet

  • ComputeLevelSetSolMetricProcess2D:
  • ComputeLevelSetSolMetricProcess3D:

Hessian

  • ComputeHessianSolMetricProcess2D: For double values.
  • ComputeHessianSolMetricProcess3D: For double values.
  • ComputeHessianSolMetricProcessComp2D: For components.
  • ComputeHessianSolMetricProcessComp3D: For components.

Error

  • ComputeErrorSolMetricProcess2D:
  • ComputeErrorSolMetricProcess3D:

External Libraries

Meshing application can make use of several third party libs as an alternative (or sometimes unique) way to implementd the interface shown. You can find information about these libs in their respective pages which are listed below:

TetGen

TetGen is a program to generate tetrahedral meshes of any 3D polyhedral domains. Please note that Tetgen license is not compatible with Kratos, and hence it is not included as part of Kratos. You must indicate in compile time where it can find a tetgen already in your system.

Tetgen enables to use the following utilities:

  • TetgenVolumeMesher:

    • AddHole
    • GenerateMesh
  • TetrahedraReconnectUtility:

    • EvaluateQuality
    • TestRemovingElements
    • OptimizeQuality
    • FinalizeOptimization
    • updateNodesPositions
    • setMaxNumThreads
    • setBlockSize
    • isaValidMesh

Tetgen also enable to use the following meshers:

  • TetGenPfemModeler:

    • ReGenerateMesh
  • TetGenPfemRefineFace:

    • ReGenerateMesh
  • TetGenPfemContact:

    • ReGenerateMesh
  • TetGenCDT:

    • GenerateCDT
  • TetGenPfemModelerVms:

    • ReGenerateMesh

MMG

MMG is an open source software for simplicial remeshing. It provides 3 applications and 4 libraries. In Kratos it provides the following additioanl procedures:

  • MmgProcess: This class is a remesher which uses the MMG library. The class uses a class for the 2D and 3D cases (solid and surfaces). The remesher keeps the previous submodelparts and interpolates the nodal values between the old and new mesh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

KratosMeshingApplication-9.4.6-cp311-cp311-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

KratosMeshingApplication-9.4.6-cp310-cp310-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

KratosMeshingApplication-9.4.6-cp39-cp39-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

KratosMeshingApplication-9.4.6-cp38-cp38-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page