Skip to content

Commit f0369b1

Browse files
committed
update readme
1 parent 9f6adcf commit f0369b1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ where `5000` is the desired stress, the optimization will sample 4 strains from
4747

4848
All 105 topologies used in the paper are in folder `inflator/data/patterns/2D/topologies/0105.obj`, one can provide a new `.obj` edge mesh to run the optimization on a custom cell topology. The edge mesh has to fit into the unit cube and be periodic in both directions.
4949

50-
The above command creates a folder `result/0105_0.3_5000.0` and set up the JSON files needed to run PolyFEM.
50+
The above command creates a folder `result/0105_0.25_5000.0` and set up the JSON files needed to run PolyFEM. Once the optimization finishes successfully, one can further optimize the cell shape for wider flat region by
51+
52+
python optimize.py 5000 \
53+
../inflator/data/patterns/2D/topologies/0105.obj \
54+
--no_tile --strain 0.3 --n_samples 5 \
55+
--params ../result/0105_0.25_5000.0/sol.txt
56+
57+
which adds one more sample strain, and uses the previous optimized shape parameters as a starting point.
5158

5259
Documentation
5360
-------------

0 commit comments

Comments
 (0)