Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
HO_homog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Baptiste Durand
HO_homog
Commits
fe64214f
Commit
fe64214f
authored
Jan 20, 2020
by
Baptiste Durand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick fix : demo_pantograph_full_scale
New organisation of functions designed for generating periodic meshes.
parent
6f3c40f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
demo/demo_pantograph_full_scale.py
demo/demo_pantograph_full_scale.py
+2
-2
ho_homog/part.py
ho_homog/part.py
+1
-0
No files found.
demo/demo_pantograph_full_scale.py
View file @
fe64214f
...
...
@@ -12,7 +12,7 @@ import gmsh
import
ho_homog.geometry
as
geo
from
ho_homog
import
GEO_TOLERANCE
,
pckg_logger
from
ho_homog.mesh_generate
_2D
import
Gmsh2DRVE
from
ho_homog.mesh_generate
import
pantograph
from
ho_homog.full_scale_pb
import
FullScaleModel
from
ho_homog.materials
import
Material
from
ho_homog.part
import
FenicsPart
...
...
@@ -43,7 +43,7 @@ a = 1
b
,
k
=
a
,
a
/
3
r
=
0.05
gmsh
.
logger
.
start
()
panto_geo
=
Gmsh2DRVE
.
pantograph
(
panto_geo
=
pantograph
.
pantograph_RVE
(
a
,
b
,
k
,
0.1
,
nb_cells
=
(
10
,
1
),
soft_mat
=
True
,
name
=
"panto_with_soft"
)
process_gmsh_log
(
gmsh
.
logger
.
get
())
...
...
ho_homog/part.py
View file @
fe64214f
...
...
@@ -110,6 +110,7 @@ class FenicsPart(object):
except
IndexError
as
error
:
mesh_path
=
mesh_file_paths
logger
.
warning
(
error
)
suffix
=
mesh_path
.
suffix
# Each supported mesh format -> one if structure
subdomains
,
facets
=
None
,
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment