Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MOAMMM
moammmPublic
code
Commits
6633933e
Commit
6633933e
authored
2 years ago
by
noels
Browse files
Options
Downloads
Patches
Plain Diff
make sure 92 is working
parent
87cb08b2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Lattice_Cell_script/MicroSample.py
+6
-6
6 additions, 6 deletions
Lattice_Cell_script/MicroSample.py
with
6 additions
and
6 deletions
Lattice_Cell_script/MicroSample.py
+
6
−
6
View file @
6633933e
...
...
@@ -24,11 +24,11 @@ import matplotlib.pyplot as plt
from
Auto_geometry_parametric
import
*
#############Can be changed##########################
cellType
=
"
8
"
# from "2", "3", "4", "5", "6", "7", "8", "9", "91" (or "92" if typeRand ="b")
cellType
=
"
3
"
# from "2", "3", "4", "5", "6", "7", "8", "9", "91" (or "92" if typeRand ="b")
typeRand
=
"
a
"
# "a" for random volume fraction and "b" for random radius
nx
=
1
#number of cell along x
ny
=
1
#number of cell along y
nz
=
1
#number of cell along z
nx
=
2
#number of cell along x
ny
=
2
#number of cell along y
nz
=
2
#number of cell along z
VmFrMin
=
0.05
#lower bound of random volume fraction, for geometry 8: 0.15 is a maximum, for other geometry 1. is a maximum
VmFrMax
=
0.25
#max bound of random volume fraction, for geometry 8: 0.15 is a maximum, for other geometry 1. is a maximum
...
...
@@ -36,8 +36,8 @@ VmFrMax = 0.25 #max bound of random volume fraction, for geometry 8: 0.15 is a
sizemin
=
0.2
#minimum size of unit cell
sizemax
=
2.5
# maximum size of unit cell
radiusmin
=
0.1
#minimum ratio of radius with respect to cell length
radiusmax
=
0.
9
#maximum ratio of radius with respect to cell length
radiusmin
=
0.
0
1
#minimum ratio of radius with respect to cell length
radiusmax
=
0.
1
#maximum ratio of radius with respect to cell length
bow_h_min
=
0.5
#minimum bow of cell 8 with respect to cell length
bow_h_max
=
0.8
#maximum bow of cell 8 with respect to cell length
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment