# -*- coding: utf-8 -*-## This file is subject to the terms and conditions defined in# file 'LICENSE.txt', which is part of this source code package.#"""Ansys tools"""importMuscat.Containers.ElementsDescriptionasEDPermutationAnsysToMuscat={}PermutationAnsysToMuscat[ED.Tetrahedron_10]=[2,0,1,3,6,4,5,9,7,8]# conversion from Muscat Element to Anasys Finit ElementMuscatToAnsysFormulation={}solid3D={}solid3D[ED.Tetrahedron_4]="185"# SOLID185solid3D[ED.Hexahedron_8]="185"# SOLID185solid3D[ED.Hexahedron_20]="186"# SOLID186solid3D[ED.Tetrahedron_10]="187"# SOLID187MuscatToAnsysFormulation["SOLID3D"]=solid3Dsolid2D={}solid2D[ED.Quadrangle_4]="182"# PLANE182solid2D[ED.Triangle_3]="182"# PLANE182solid2D[ED.Quadrangle_8]="183"# PLANE183solid2D[ED.Triangle_6]="183"# PLANE183MuscatToAnsysFormulation["SOLID2D"]=solid2D