Comments (4)
To use the subdivision algorithm All Quads, the checkbox Recombine all triangular meshes has to be activated also. Otherwise, it will only break all triangles into 4 quads.
from neper.
How would it translate in terms of entries in the .geo file? For tri/tet meshing, Neper uses this:
/* Options for the meshing: */
[...]
Mesh.Algorithm = 6;
Mesh.Algorithm3D = 4;
[...]
Mesh.SaveAll = 1;
Mesh.Optimize = 1;
from neper.
Quad Dominant:
Mesh.RecombinationAlgorithm = 3;
(blossom full-quad)
Mesh.RecombineAll = 1;
All Quads:
Mesh.RecombinationAlgorithm = 3;
(blossom full-quad)
Mesh.RecombineAll = 1;
Mesh.SubdivisionAlgorithm = 1;
(All quads)
Something like this might work.
from neper.
@MiguelVCarvalho - As of version 3.5.3-29, a mesh can be written under format msh version 4, using -format msh4
. The mesh file can then be processed externally (by Gmsh) to get a full-quad mesh.
Here is an example:
neper -T -n 2 -dim 2
neper -M n2-id1.tess -format msh4
gmsh -2 n2-quad.geo
This is only a start - it will be integrated to Neper more thoroughly.
n2-quad.geo:
Merge "n2-id1.msh4";
Mesh.RecombinationAlgorithm = 1;
RecombineMesh;
Mesh.SecondOrderLinear = 1;
Mesh.SubdivisionAlgorithm = 1;
RefineMesh;
from neper.
Related Issues (20)
- initial 2d tesselation iteration segfaults with large number of cells HOT 2
- Is it possible to control the area fraction and distribution of grains ? HOT 1
- Bug when prescribing initial centroid coords HOT 3
- incorrect msh4 format generated from neper HOT 8
- missing physical tags description in the Entities section in msh4 file HOT 3
- A bug occurred when generating tessellation using coordinate files. HOT 2
- all $PhysicalNames not reflected in $Entities
- error:Cannot convert to ".inp" format.
- Quiery about the Error: - simulation.tess and simulation.msh do not match (2D).
- Query about the error "simulation.tess and simulation.msh do not match (2D)."
- Undeclared Function HOT 1
- Meshing Tests Fail (Mac M1) HOT 2
- Error slicing tessellation HOT 1
- Build failures on 32 bit systems HOT 2
- Can't read .msh file in -M module
- neper -T bug
- Mesh inclusion
- 2D cube cut
- Periodic Tessellation error
- SPEICIFIC DOUBT ON CAN WE CREATE INP FILE from .ang file obtained from EBSD experiment and if yes then what is the code for creating INP file with meshing
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 neper.