Skip to content

Commit

Permalink
Add initial FAQ page
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeR227 committed Dec 13, 2024
1 parent b030b92 commit 6c51106
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ makedocs(
"NHS" => "nhs/nhs_lite.md",
"Pipe Flow" => "poiseuille/poiseuille.md",
"Misc Features" => "bc/bc_debug.md", # Requires overview
"FAQ" => "faq/faq.md",
"ASCII Operators" => "ascii.md",
"Canonical Models" => "canon.md",
"Library Reference" => "api.md"
Expand Down
29 changes: 29 additions & 0 deletions docs/src/faq/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# FAQ

## 1. How to incorporate scalar or vector field input data where you have a function of the embedded coordinates?

## 2. How to incorporate input data from a file with linear interpolation?

The Grigoriev Ice Cap model has a section where after the initial data is loaded from a TIF, the data is interpolated so that it may fit over a discrete mesh of our choosing. The link for that is [here](../grigoriev/grigoriev.md#loading-a-scientific-dataset).

## 3. How to set boundary conditions like fixed value, no flux, and no slip?

## 4. How to plot a derived quantity?

## 5. How to add artificial diffusion for 0- or 1-forms to improve stability?

## 6. How to use a Laplacian solver / multigrid?

To use multigrid methods in the Laplacian solver, you need to create a `PrimalGeometricMapSeries` that will take a coarse mesh and apply a subdivision method to it some number of times. After that, just use this result as you would a regular mesh for simulation.

```julia
s = triangulated_grid(100,100,1,1,Point3D)

series = PrimalGeometricMapSeries(s, binary_subdivision_map, 4);

...

f_mg = sim_mg(series, generate);
```

## 7. How to do a bunch of workflows?

0 comments on commit 6c51106

Please sign in to comment.