Skip to content

kolarji2/SE_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surface evolver api

Installation

The code depends on third-party applications:

  • voro++ for tessellation

To install voro++:

sudo ./install_voro++.sh

If that doesn't work, you will need to download it from http://math.lbl.gov/voro++/download/ and install it manually, voro++ header files are expected in /usr/local/include/voro++ and library in /usr/local/lib/libvoro++.a, where are files installed by default.

Build and install

cmake .
make
sudo make install

Run

se_api -i foam_simple.geo
se_api -g cubic

Description

-i input.geo
	Load file in geo format
-g random/cubic/hexab
	Generate structure by using voro++ tesselation
-n 9
	Specify number of cells to generate
		for g:
			random = number of cells
			cubic = number of cells in one direction
			hexab =  even number of cells in one direction
-o outputFile
	Specify name for output outputFile.fe and outputFile.cmd
-c file1.cmd,file2.cmd,file3.cmd
	Comma separated list of cmd files which will be loaded in addition when surface evolver is run with output cmd file.

Example

se_api -i foam_simple.geo
evolver foam.fe

About

Program for easier work with Surface Evolver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published