Comments (1)
Firstly, why does
ShapeRefs
only store the string name of the relevant faces rather than just storing the faces themselves? This is what I changed locally and that removes the huge overhead of needing to go from the string names back to the face objects (saving me ~40 hours per case).
That's good to know! No particular reason. I haven't really got to doing any optimisation on this as it hasn't been much of an obstacle in the examples I've run. I'd be interested to see your example in order to understand better, if you can share it.
Secondly, I can guess at why matchFaces exists: maybe a user manually selected the face in an object that was used to create a mesh, rather than selecting the face on the mesh object itself. But this resolving process is very expensive (about 6 hours of the remaining 6 hours processing time), and AFAICT isn't needed if creating the case programmatically or if a user is careful in selecting the correct faces when creating a mesh refinement.
Correct, but I would like to keep this flexibility. Sometimes it's much more convenient to select a face on a simpler object than the full compound that the mesh is composed of. I'd gratefully receive any optimisations though. Presumably we can detect and skip if we see the selection has been made on the primary mesh shape.
I'm new to the code so could be missing something crucial so thought I'd ask before going down the wrong path.
No problem. I sadly have very little time for this project so unfortunately I've erred on the side of adequacy rather than optimality, in many respects.
I'm wondering if all of this resolving work could be done only if manually selecting faces and the underlying object properties could contain the raw data needed to quickly generate a mesh. That way if not manually selecting things, most of the processing cost could be skipped.
Sounds good.
from cfdof.
Related Issues (20)
- Meshing exited with error HOT 1
- Feature request: Solver for heat transfer HOT 3
- QoL Improvement: Make CfdAnalysis' "Output Directory" dynamic based on the Project Name, instead of "/tmp/case" as default HOT 12
- Bug reporting: No module named 'certifi' HOT 3
- Install Win10 CfdOF 1.24.8 OpenFoam v2212 HOT 2
- CfdOF not working with openfoam11 HOT 1
- Bug reporting HOT 4
- "Sticky" reportingfunction x/y axis scales HOT 2
- [Feature request] Support mpi hostfile for clustered setup HOT 11
- Add-on install not working HOT 2
- Eulerian multiphase HOT 9
- Cfdof/FreeCAD 0.21.2 Generates Incorrect Periodic B.C.'s HOT 4
- Support Material Update HOT 1
- Allrun script points to incorrect MESHDIR HOT 2
- Panel heading titles
- Fluid Properties - Compressible Checkbox HOT 1
- SnappyHexMesh Boundry Layer Inflation Expansion Ratio HOT 1
- Standard error output should not be used when detecting paraview version
- Behaviour of Mesh Button / Menu on second click HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfdof.