-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from imcs-compsim/implement-base-sphere
Implement the base of a sphere and test it
- Loading branch information
Showing
4 changed files
with
263 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
tests/reference-files/test_nurbs_sphere_surface_reference.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// ----------------------------------------------------------------------------- | ||
// This input file was created with MeshPy. | ||
// Copyright (c) 2018-2023 | ||
// Ivo Steinbrecher | ||
// Institute for Mathematics and Computer-Based Simulation | ||
// Universitaet der Bundeswehr Muenchen | ||
// https://www.unibw.de/imcs-en | ||
// ----------------------------------------------------------------------------- | ||
-----------------------------------------------------------------------MATERIALS | ||
MAT 1 MAT_Struct_StVenantKirchhoff YOUNG -1.0 NUE 0.0 DENS 0.0 | ||
-----------------------------------------------------------STRUCTURE KNOTVECTORS | ||
BEGIN NURBSPATCH | ||
ID 1 | ||
NUMKNOTS 8 | ||
DEGREE 2 | ||
TYPE Interpolated | ||
0.0 | ||
0.0 | ||
0.0 | ||
0.3333333333333333 | ||
0.6666666666666666 | ||
1.0 | ||
1.0 | ||
1.0 | ||
NUMKNOTS 7 | ||
DEGREE 2 | ||
TYPE Interpolated | ||
0.0 | ||
0.0 | ||
0.0 | ||
0.5 | ||
1.0 | ||
1.0 | ||
1.0 | ||
END NURBSPATCH | ||
-------------------------------------------------------------DNODE-NODE TOPOLOGY | ||
NODE 1 DNODE 1 | ||
NODE 5 DNODE 2 | ||
NODE 16 DNODE 3 | ||
NODE 20 DNODE 4 | ||
-------------------------------------------------------------DLINE-NODE TOPOLOGY | ||
NODE 1 DLINE 1 | ||
NODE 2 DLINE 1 | ||
NODE 3 DLINE 1 | ||
NODE 4 DLINE 1 | ||
NODE 5 DLINE 1 | ||
NODE 5 DLINE 2 | ||
NODE 10 DLINE 2 | ||
NODE 15 DLINE 2 | ||
NODE 20 DLINE 2 | ||
NODE 16 DLINE 3 | ||
NODE 17 DLINE 3 | ||
NODE 18 DLINE 3 | ||
NODE 19 DLINE 3 | ||
NODE 20 DLINE 3 | ||
NODE 1 DLINE 4 | ||
NODE 6 DLINE 4 | ||
NODE 11 DLINE 4 | ||
NODE 16 DLINE 4 | ||
-------------------------------------------------------------DSURF-NODE TOPOLOGY | ||
NODE 1 DSURFACE 1 | ||
NODE 2 DSURFACE 1 | ||
NODE 3 DSURFACE 1 | ||
NODE 4 DSURFACE 1 | ||
NODE 5 DSURFACE 1 | ||
NODE 6 DSURFACE 1 | ||
NODE 7 DSURFACE 1 | ||
NODE 8 DSURFACE 1 | ||
NODE 9 DSURFACE 1 | ||
NODE 10 DSURFACE 1 | ||
NODE 11 DSURFACE 1 | ||
NODE 12 DSURFACE 1 | ||
NODE 13 DSURFACE 1 | ||
NODE 14 DSURFACE 1 | ||
NODE 15 DSURFACE 1 | ||
NODE 16 DSURFACE 1 | ||
NODE 17 DSURFACE 1 | ||
NODE 18 DSURFACE 1 | ||
NODE 19 DSURFACE 1 | ||
NODE 20 DSURFACE 1 | ||
---------------------------------------------------------------------NODE COORDS | ||
CP 1 COORD -0.57735026919 -0.57735026919 0.57735026919 1.0 | ||
CP 2 COORD -0.409977610553 -0.661036598508 0.661036598508 0.9388321936425754 | ||
CP 3 COORD 0 -0.723160822194 0.723160822194 0.8980536560709591 | ||
CP 4 COORD 0.409977610553 -0.661036598508 0.661036598508 0.9388321936425754 | ||
CP 5 COORD 0.57735026919 -0.57735026919 0.57735026919 1.0 | ||
CP 6 COORD -0.707106781187 -0.317837245196 0.707106781187 0.9082482904638631 | ||
CP 7 COORD -0.50211797591 -0.363907427874 0.896007962233 0.8526927349083075 | ||
CP 8 COORD 0 -0.398107450235 1.03623802516 0.8156556978712706 | ||
CP 9 COORD 0.50211797591 -0.363907427874 0.896007962233 0.8526927349083075 | ||
CP 10 COORD 0.707106781187 -0.317837245196 0.707106781187 0.9082482904638631 | ||
CP 11 COORD -0.707106781187 0.317837245196 0.707106781187 0.9082482904638631 | ||
CP 12 COORD -0.50211797591 0.363907427874 0.896007962233 0.8526927349083075 | ||
CP 13 COORD 0 0.398107450235 1.03623802516 0.8156556978712706 | ||
CP 14 COORD 0.50211797591 0.363907427874 0.896007962233 0.8526927349083075 | ||
CP 15 COORD 0.707106781187 0.317837245196 0.707106781187 0.9082482904638631 | ||
CP 16 COORD -0.57735026919 0.57735026919 0.57735026919 1.0 | ||
CP 17 COORD -0.409977610553 0.661036598508 0.661036598508 0.9388321936425754 | ||
CP 18 COORD 0 0.723160822194 0.723160822194 0.8980536560709591 | ||
CP 19 COORD 0.409977610553 0.661036598508 0.661036598508 0.9388321936425754 | ||
CP 20 COORD 0.57735026919 0.57735026919 0.57735026919 1.0 | ||
--------------------------------------------------------------STRUCTURE ELEMENTS | ||
1 WALLNURBS NURBS9 1 2 3 6 7 8 11 12 13 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
2 WALLNURBS NURBS9 2 3 4 7 8 9 12 13 14 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
3 WALLNURBS NURBS9 3 4 5 8 9 10 13 14 15 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
4 WALLNURBS NURBS9 6 7 8 11 12 13 16 17 18 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
5 WALLNURBS NURBS9 7 8 9 12 13 14 17 18 19 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
6 WALLNURBS NURBS9 8 9 10 13 14 15 18 19 20 MAT 1 KINEM linear EAS none THICK 1.0 STRESS_STRAIN plane_strain GP 3 3 | ||
------------------------------------------------------------------FLUID ELEMENTS | ||
-----------------------------------------------------------------------------END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters