Software Open Access
<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
<identifier identifierType="DOI">10.14278/rodare.3034</identifier>
<creators>
<creator>
<creatorName>Lecrivain, Gregory</creatorName>
<givenName>Gregory</givenName>
<familyName>Lecrivain</familyName>
<nameIdentifier nameIdentifierScheme="ORCID" schemeURI="http://orcid.org/">0000-0003-0540-3426</nameIdentifier>
<affiliation>Helmholtz-Zentrum Dresden-Rossendorf</affiliation>
</creator>
</creators>
<titles>
<title>Self-folding of two-dimensional thin templates into pyramidal micro-structures by a liquid drop - a numerical model</title>
</titles>
<publisher>Rodare</publisher>
<publicationYear>2024</publicationYear>
<subjects>
<subject>Micro-origami simulation</subject>
<subject>Drop encapsulation</subject>
<subject>Self-folding</subject>
<subject>Fluid-structure interaction</subject>
</subjects>
<dates>
<date dateType="Issued">2024-07-01</date>
</dates>
<language>en</language>
<resourceType resourceTypeGeneral="Software"/>
<alternateIdentifiers>
<alternateIdentifier alternateIdentifierType="url">https://rodare.hzdr.de/record/3034</alternateIdentifier>
</alternateIdentifiers>
<relatedIdentifiers>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsIdenticalTo">https://www.hzdr.de/publications/Publ-37084</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsReferencedBy">https://www.hzdr.de/publications/Publ-37083</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.14278/rodare.2325</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf">https://rodare.hzdr.de/communities/energy</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf">https://rodare.hzdr.de/communities/fwd</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf">https://rodare.hzdr.de/communities/rodare</relatedIdentifier>
</relatedIdentifiers>
<version>1.1</version>
<rightsList>
<rights rightsURI="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International</rights>
<rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
</rightsList>
<descriptions>
<description descriptionType="Abstract"><p>Source files and selected raw data related to the manuscript &quot;Self-folding of two-dimensional thin templates into pyramidal micro-structures by a liquid drop - a numerical model&quot; by Gregory Lecrivain, Helmholtz-Zentrum Dresden-Rossendorf, Germany, 2024.</p>
<p>1) folder &quot;manuscript&quot;,<br>
This folder contains all text documents related to manuscript. Text and final figures are found in the directory.</p>
<p>2) folder &quot;scripts&quot;<br>
This folder contains python and bash scripts used to post-process the raw data and prepare the figures. You will need to install some python3 libraries. Use the following command: pip install pyquaternion matplotlib scipy intersect.</p>
<p>3) folder &quot;figures&quot;<br>
This folder contain information on how to run the simulations related to the figure. More information can be found in the README text file located in each figure/figX subfolder, where X the figure number in the manuscript.</p>
<p>4) folder &quot;src&quot;<br>
This folder contains the all c++ files related to the source code.</p>
<p>4.1)<br>
Prior to compiling, you should have gcc(7.3.0), openmpi(2.1.2), make(4.3), cmake(3.20.2), python(3.8.0), blas(3.8.0), lapack(3.8.0), boost(1.78.0), and git(2.30.1) available on your machine. The version number in the parenthesis corresponds to the one I used on the local HPC available at my institution. In my case, I type &quot;module load gcc/7.3.0 openmpi/2.1.2 make/4.3 cmake/3.20.2 python/3.8.0 blas/3.8.0 lapack/3.8.0 boost/1.78.0 git/2.30.1&quot;.</p>
<p>4.2)<br>
To compile the libraries, open a terminal, cd to the src directory and type &quot;make libs&quot;. All outputs will placed in the folder $HOME/local. The libraries&#39; tarballs needed to compile the code are placed in the Libs directory.</p>
<p>4.3)<br>
I have manually installed paraview 5.9.1. pvpython is used to export txt data (hinge, drop and three-phase contact line) to vtk format.</p>
<p>4.4)<br>
Open your ~/.bashrc file and add the following lines.<br>
export IGL_NUM_THREADS=1<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/libconfig-1.7.3/lib<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/gmp-6.2.1/lib<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/mpfr-4.1.0/lib<br>
export PATH=$PATH:$HOME/microorigami/src #(or whereever, your chosen parent directory is)<br>
export PATH=$PATH:$HOME/microorigami/scripts #(or whereever, your chosen parent directory is)<br>
export PATH=$PATH:$HOME/microorigami/paraview/bin #(or whatever path you used)</p>
<p>4.5)<br>
open a new terminal, cd to the src directory and type &quot;make check_library_path&quot;. The terminal should return<br>
&quot;library path to libconfig is correct&quot;<br>
&quot;library path to gmp is correct&quot;<br>
&quot;library path to mpfr is correct&quot;<br>
If that is the case, i.e. the paths are correctly set. To compile, type &quot;make main post&quot;. Alternatively, one can speed up the installation by typing &quot;make -j 4 main post&quot;, where 4 is the number of cpus I use.</p>
<p>4.6)<br>
Help is available in each header file (.h) in the form of doxygen comments. Type &quot;make doxy&quot;. The folder html will appear under src.</p>
<p>4.7)<br>
Type &quot;make clean&quot; to clean the src folder</p>
<p>5) folders &quot;caX_sideY_ecZ.zip&quot;<br>
The zip files contains the raw data related to Figure 10. Here, X = 70 is the contact angle, Y = 5 the number of side panels and Z = 0.8, 1.6 and 2.4 the elasto-capillary number. After data extraction, three folders will be created, namely wd/ca70/side5/ec0.8, wd/ca70/side5/ec1.6 and wd/ca70/side5/ec2.4, where wd is your working directory. To convert the data into human-readable format (txt, vtk, stl,...) type &quot;source Utils.sh; ExportScript --verbose --submit&quot; in the working directory wd on the hpc. The bash function ExportScript is located in &quot;scripts/Utils.sh&quot;. All other raw data can be obtained by following the commands in the README text file located in each figX folder, with X=1,2,...,13. With Paraview, one is able to visualize the self-folding by loading the stl files.</p></description>
</descriptions>
</resource>
| All versions | This version | |
|---|---|---|
| Views | 2,745 | 694 |
| Downloads | 680 | 110 |
| Data volume | 2.0 TB | 449.0 GB |
| Unique views | 1,805 | 607 |
| Unique downloads | 364 | 87 |