Edit Domain
In GeoDict, the GAD objects are converted into a voxel geometry. The details of this conversion are defined by the Domain. The domain determines the resolution, the size and position of the bounding box, the background materials, and the overlap behavior of objects. Whenever a structure is created or loaded in GeoDict, the corresponding domain parameters are stored. They can be accessed and changed through the Edit Domain command which is additionally available from the GAD Objects context menu. In a GAD file, those parameters are defined in the Domain section.
GeoDict knows and uses three different ways to specify the domain size, defined by the value after the key DomainMode:
- DomainMode VoxelNumber: The voxel length, specified by the value after the key VoxelLength, and the number of voxels in the three spatial directions, specified by the values after NX, NY and NZ, are given.
- DomainMode Length: The voxel length specified by the value after the key VoxelLength, and the lengths of the domain in the three spatial directions, specified by the values after the keys LengthX, LengthY and LengthZ, are given. The number of voxels (NX, NY and NZ) is calculated automatically.
- DomainMode VoxelNumberAndLength: This mode is similar to DomainMode VoxelNumber, but additionally the physical lengths of the domain are specified by the values after the keys LengthX, LengthY and LengthZ. This mode is used when wanting to save a difference of the physical lengths (LengthX, LengthY, and LengthZ) to the lengths given by the voxel length and the number of voxels (VoxelLength, NX, NY, and NZ).
Additional to the size of the domain, the origin of the geometry is specified. A shift of the origin from (0.0, 0.0, 0.0) is given by the values after the keys OriginX, OriginY, and OriginZ.
The domain of the voxel geometry may be periodic in one or more of the three spatial dimensions. This is specified by the values after the keys PeriodicX, PeriodicY and PeriodicZ, which may be False or True. If the domain is periodic in the X-directions, this means that an object leaving the domain through one of the two domain boundaries in X-direction reenters the domain from the other boundary in X-direction. Periodicity in Y- and Z-direction is defined accordingly.
With Edit Domain, the position and resolution of the domain can be changed. Changing the domain leaves the absolute size and position of the objects themselves unchanged, but it might change which part of an object is shown inside of the voxel grid, and how well it is resolved. Basically, Edit Domain allows to do the following tasks:
Change resolution
Edit Domain can be used to change the resolution by simultaneously dividing the Voxel Length and multiplying the number of voxels in NX, NY, NZ direction by the same factor.
|
Shift the field of view
By changing the values of NX, NY, NZ and the position of the Origin it is possible to move the field of view, thus changing the cut-out used as the current 3D structure model. The Origin defines the position of the front lower left corner of the bounding box, which is usually (0,0,0) by default.
|
Distinguish between background and hollow parts
It is possible to reassign the Pore / Matrix Material (ID 00) as explained here.
If some objects of the structure contain hollow parts, e.g. hollow fibers, hollow spheres, or cellulose fibers, it is also possible to change the material ID of those hollow parts, which is by default the same material as the background material.
Changing the Hollow Parts Material ID allows to distinguish between the interior of those objects and the pore space on the outside. In a GAD file, a change of these parameters will change the parameters stored in the Material section and the HollowMaterialID.
|
Redefine overlap behavior
When you create a 3D structure model with one of the structure generation modules of GeoDict, you have to decide how overlapping objects are treated. With GadGeo Edit Domain, the chosen settings can be changed afterwards, and other modes for the overlap can be set without changing the position of the objects themselves.
The Edit Domain dialog allows to change the settings for Resolve Overlap and the Overlap Mode and allows to choose all the overlap modes that are accessible when creating a GAD structure. The modes are explained in detail here.
All defined overlap rules are also stored in the GAD file, in sections OverlapRule... Therefore, these settings are always stored together with the structure, when it is saved either as a .gad or .gdt file.
|