This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
AdaptiveMeshDomain.py
70 lines (55 loc) · 1.86 KB
/
AdaptiveMeshDomain.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from ..Region.Region import Region
class AdaptiveMeshDomain:
"""The AdaptiveMeshDomain object defines the region and controls that govern an Arbitrary
Lagrangian Eularian (ALE) style adaptive smoothing mesh domain.
Notes
-----
This object can be accessed by:
.. code-block:: python
import step
mdb.models[name].steps[name].adaptiveMeshDomains[name]
"""
def __init__(
self,
region: Region,
controls: str = "",
frequency: int = 10,
initialMeshSweeps: int = 5,
meshSweeps: int = 1,
):
"""This method creates an AdaptiveMeshDomain object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].steps[name].AdaptiveMeshDomain
Parameters
----------
region
A Region object specifying the region to which the adaptive mesh domain is applied.
controls
A String specifying the name of an AdaptiveMeshControl object.
frequency
An Int specifying the frequency in increments at which adaptive meshing will be
performed. The default value is 10.
initialMeshSweeps
An Int specifying the number of mesh sweeps to be performed at the beginning of the
first step in which this adaptive mesh definition is active. The default value is 5.
meshSweeps
An Int specifying the number of mesh sweeps to be performed in each adaptive mesh
increment. The default value is 1.
Returns
-------
An AdaptiveMeshDomain object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the AdaptiveMeshDomain object.
Raises
------
RangeError
"""
pass