Skip to content

Modify the size of the mesh region #4755

Closed Answered by lorenzovecchietti
aknsj asked this question in Q&A
Discussion options

You must be logged in to vote

You can change settings from the mesh_region object.
You can switch between manual or automatic mesh settings using:

mesh_region.manual_settings = True
mesh_region.manual_settings = False

To print the settings available:

mesh_region.settings

That line will print out one of the two dictionaries:

  • {'EnforceCutCellMeshing': False, 'StairStepMeshing': False, 'OptimizePCBMesh': True, 'CurvatureSizeFunction': True, 'EnableTransition': False, 'Enforce2dot5DCutCell': False, 'Enable2DCutCell': False, 'ProximitySizeFunction': True, 'MeshRegionResolution': 3}
  • {'2DMLMType': '2DMLM_None', 'EnableMLM': True, 'EnforceCutCellMeshing': False, 'MinGapX': '1mm', 'NoOGrids': False, 'MaxElementSizeY': '0.02…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@aknsj
Comment options

@lorenzovecchietti
Comment options

@aknsj
Comment options

@lorenzovecchietti
Comment options

@aknsj
Comment options

Answer selected by Samuelopez-ansys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants