FEMDocumentation`
FEMDocumentation`

ToNumericalRegion

ToNumericalRegion[r]

generates a NumericalRegion object from a region r.

ToNumericalRegion[r,{{xmin,xmax},}]

generates a NumericalRegion object from a region r restricted to the bounding box [x_(min),x_(max)]x....

ToNumericalRegion[emesh]

generates a NumericalRegion object from an ElementMesh object.

更多信息和选项

  • ToNumericalRegion[r] generates a NumericalRegion object that keeps the original representation of the region r together with ElementMesh approximations that may be computed later.
  • The specification for region r is similar to the one given for ToElementMesh.
  • The region r should be a constant region for which ConstantRegionQ gives True.
  • ToNumericalRegion has the following options:
  • "MessageHead"Automaticsymbol for messages
  • Setting the option from NDSolve and related functions is explained in NDSolve Finite Element Options.

范例

打开所有单元关闭所有单元

基本范例  (7)

Load the package:

Create a numerical region of a disk:

Extract the bounding box:

Create a numerical region of a full region in two dimensions with a bounding box:

Create a numerical region of an empty region in two dimensions:

Create a numerical region of a disk and extract the predicates and the predicate variables:

Create a numerical region of a full region in two dimensions:

Extract the ElementMesh:

Create an ElementMesh with ToElementMesh:

The ElementMesh field is now populated:

The boundary ElementMesh is now also populated:

Clear the meshes and constraints:

Create a numerical region of a full region in two dimensions:

Initially, boundary and element meshes are not populated:

Create a boundary mesh:

The boundary mesh is now populated:

Create a mesh:

Define a NumericalRegion based on the mesh:

Retrieve the predicate and the symbolic region of the NumericalRegion:

Retrieve the bounding box and variables:

The meshes are the same:

There is no boundary mesh associated:

Generalizations & Extensions  (1)

Create a numerical region of a full region in two dimensions:

Set up variable and solution data:

Initialize the coefficients and boundary conditions that have a discontinuity:

Inspect the constraints introduced by the PDE coefficients and boundary conditions:

Visualize the boundary mesh with the autogenerated internal boundary along the discontinuity:

Visualize the full mesh:

Wolfram Research (2014),ToNumericalRegion,Wolfram 语言函数,https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html (更新于 2020 年).

文本

Wolfram Research (2014),ToNumericalRegion,Wolfram 语言函数,https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html (更新于 2020 年).

CMS

Wolfram 语言. 2014. "ToNumericalRegion." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2020. https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html.

APA

Wolfram 语言. (2014). ToNumericalRegion. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html 年

BibTeX

@misc{reference.wolfram_2024_tonumericalregion, author="Wolfram Research", title="{ToNumericalRegion}", year="2020", howpublished="\url{https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_tonumericalregion, organization={Wolfram Research}, title={ToNumericalRegion}, year={2020}, url={https://reference.wolfram.com/language/FEMDocumentation/ref/ToNumericalRegion.html}, note=[Accessed: 22-December-2024 ]}