8000 GitHub - jrwrigh/CGNSPetscFileWritingToy
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jrwrigh/CGNSPetscFileWritingToy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

  1. Set PETSC_DIR and PETSC_ARCH appropriately for your petsc installation (such that $PETSC_DIR/$PETSC_ARCH is the path to the installation directory).
  2. make

Running

The settings.yaml has most of the default options necessary.

Run using (for example):

mpirun -n 4 ./exec -options_file setting.yaml

Size of the problem is controlled by -dm_plex_box_faces flag. So a 100x100x100 mesh would be:

mpirun -n 4 ./exec -options_file setting.yaml -dm_plex_box_faces 100,100,100

Order of the elements is set via -degree. So quadratic elements would have -degree 2

The time taken to write the file is printed out at the end (via the VecView event in PETSc).

To have a non-zero solution written to the file, use flag -project_solution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0