-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Crazy-Rich-Meghan/gismo_master
Tweak README, add to sidebar
- Loading branch information
Showing
3 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,39 @@ | ||
--- | ||
title: The G+Smo adapter | ||
permalink: adapter-gismo.html | ||
keywords: adapter, G+Smo, Isogeometric Analysis | ||
keywords: adapter, G+Smo, Isogeometric Analysis, IGA | ||
summary: "The G+Smo adapter can be used to couple G+Smo to CFD solvers for FSI applications or even to couple G+Smo to itself for advanced structural simulations." | ||
--- | ||
|
||
## What is G+Smo? | ||
|
||
G+Smo (pronounced gismo or gizmo) is a C++ library for isogeometric analysis (IGA). Geometry plus simulation modules aims at the seamless integration of Computer-aided Design (CAD) and Finite Element Analysis (FEA). | ||
|
||
## Aim of the adapter | ||
|
||
## Install G+Smo | ||
The G+Smo adapter is a submodule of the G+Smo library, relies on the core functionality of the main library. To get started, you need to install G+Smo on your system first. | ||
The G#Smo adapter provides a collection of examples demonstrating the use of G+Smo solvers adapted for preCICE. A particular focus lies on the IGA functionality of G#Smo. | ||
|
||
## Install G+Smo and the adapter | ||
|
||
This adapter provides a collection of examples demonstrating the use of a G+Smo solver adapted for preCICE. | ||
The [G+Smo adapter](https://github.com/gismo/gsPreCICE) is a submodule of the [G+Smo library](https://github.com/gismo/gismo) and relies on the core functionality of the main library. The adapter is automatically cloned into the main library if configured. | ||
|
||
Clone G+Smo and build a specific solver: | ||
|
||
### Clone the Adapter | ||
After downloading [G+Smo](https://github.com/gismo/gismo), clone the G+Smo adapter submodule: | ||
|
||
``` | ||
cd gismo/build | ||
cmake .. -DGISMO_OPTIONAL="<Other submodules>;gsPreCICE" | ||
```bash | ||
git clone https://github.com/gismo/gismo.git | ||
cd gismo | ||
mkdir build & cd build | ||
cmake .. -DGISMO_OPTIONAL="<Other submodules>;gsPreCICE" | ||
make <solver_name> | ||
``` | ||
_Note:_ For example, `<Other submodules>` can be [`gsElasticity`](https://github.com/gismo/gsElasticity), [`gsKLShell`](https://github.com/gismo/gsKLShell) and [`gsStructuralAnalysis`](https://github.com/gismo/gsStructuralAnalysis). See these submodules for extra information. | ||
Depending on the solver, different submodules need to be added. | ||
|
||
### Build and install a tutorial | ||
TODO: It would be nice to add a table here with what solvers are available, which additional submodules they require, and which tutorials can use the solver. | ||
|
||
To build and install a tutorial with `<tutorial name>`, run the following: | ||
`<Other submodules>` can be [`gsElasticity`](https://github.com/gismo/gsElasticity), [`gsKLShell`](https://github.com/gismo/gsKLShell) and [`gsStructuralAnalysis`](https://github.com/gismo/gsStructuralAnalysis). See these submodules for extra information. | ||
|
||
``` | ||
make <tutorial name> -j <number of threads> | ||
``` | ||
Finally, make the solver discoverable, e.g. by installation: | ||
|
||
Make the tutorial systemwide discoverable: | ||
``` | ||
make install <tutorial name> | ||
make install <solver_name> | ||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters