mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: robuster handling of inv() of fields with singular tensors (#2724)
- replace the "one-size-fits-all" approach of tensor field inv() with individual 'failsafe' inverts. The inv() field function historically just checked the first entry to detect 2D cases and adjusted/readjusted *all* tensors accordingly (to avoid singularity tensors and/or noisy inversions). This seems to have worked reasonably well with 3D volume meshes, but breaks down for 2D area meshes, which can be axis-aligned differently on different sections of the mesh.
This commit is contained in:
3
applications/test/invTensor/Make/files
Normal file
3
applications/test/invTensor/Make/files
Normal file
@ -0,0 +1,3 @@
|
||||
Test-invTensor.C
|
||||
|
||||
EXE = $(FOAM_USER_APPBIN)/Test-invTensor
|
||||
Reference in New Issue
Block a user