ENH: export part information in nastran format
$FOAM_SRC/sampling/lnInclude/nastranSurfaceWriter.C
currently seems to output only one PSHELL (along with dummy values)
Is it possible to retain the geometry information?
e.g. when sampling STL or patches to output information in nastran format
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
When these merge requests are accepted, this issue will be closed automatically.
Activity
- Maintainer
Resources/Reports/Internal/additionalDocumentation/MEJ_sampledSurface_with_region_info.txt
- Maintainer
MOL: change surfaceWriter api to take UnsortedMeshedSurface instead of points, faces separately. This would automatically pass in zone/tag.
- Author Developer
probably an example for the sampling plane illustrating the data loss for part name.pitzDaily_sample.tgz
sampling geometry (plane) contains two parts, but the output contains single region with field data.
- Author Developer
tagging in @mark
- Mark OLESEN Reassigned to @mark
Reassigned to @mark
- Mark OLESEN Milestone changed to %Version v1612
Milestone changed to %Version v1612
- Maintainer
Reworked sampled surface and surface writers (and their APIs) to allow passing through of the region information, works in parallel too.
- Current producers of the region information:
- sampledTriSurfaceMesh
- Current consumers of the region information:
- nastran writer. The zone ids passed through as PSHELL Ids (with offset 1).
Limitations
- The per-face region association is preserved, but the face/element sort order gets lost in reconstruction. Would need to attach additional information to the sampled surface and use that for sorting, but this would also imply that sampled values be written indirectly (or resorted) too to match the order.
- Zone ids are passed through, but not their names.
- After reconstruction, zone ids are no longer contiguous. Re-sorting (as mentioned above) would solve this too, but again at the cost of more complexity when writing.
Edited by Mark OLESEN - Current producers of the region information:
- Mark OLESEN mentioned in commit d9aab92b243ad821a5dabf692209bf0ed0d9f84c
mentioned in commit d9aab92b243ad821a5dabf692209bf0ed0d9f84c
- Mark OLESEN mentioned in commit d7c94e71a1ed613c8342e69d2724e64c4945da10
mentioned in commit d7c94e71a1ed613c8342e69d2724e64c4945da10
- Mark OLESEN mentioned in commit 6498398a514aa4b536fb7999fe882cd0ce6acc64
mentioned in commit 6498398a514aa4b536fb7999fe882cd0ce6acc64
- Mark OLESEN mentioned in commit be99e74a4ba67ead2a000b426b78499b950bb4ca
mentioned in commit be99e74a4ba67ead2a000b426b78499b950bb4ca
- Mark OLESEN mentioned in commit 72296c9164f27d081d236a733d9a68e3a4a7a772
mentioned in commit 72296c9164f27d081d236a733d9a68e3a4a7a772
- Maintainer
Changes for testing in !58 (closed) (branch https://develop.openfoam.com/Development/OpenFOAM-plus/commits/issue-104-keep-sampled-geo-info)
Edited by Mark OLESEN - Mark OLESEN mentioned in commit fa9c6af310c3859a15fd86c237f38754b4b327c2
mentioned in commit fa9c6af310c3859a15fd86c237f38754b4b327c2
- Author Developer
seems to work OK with stated limitations above
- Mark OLESEN Mentioned in commit 3130c4ac
Mentioned in commit 3130c4ac
- Mark OLESEN Mentioned in commit 39be1630
Mentioned in commit 39be1630
- Mark OLESEN Mentioned in commit 7c6ef0cb
Mentioned in commit 7c6ef0cb
- Mark OLESEN Mentioned in commit c6077e8b
Mentioned in commit c6077e8b
- Mark OLESEN Mentioned in merge request !75 (merged)
Mentioned in merge request !75 (merged)
- Mark OLESEN Mentioned in commit 6a060112
Mentioned in commit 6a060112
- Author Developer
Works.
- Prashant Sonakar Status changed to closed
Status changed to closed
- Mark OLESEN Mentioned in commit 52b1ca23
Mentioned in commit 52b1ca23