Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transient nsi #23

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
88b7744
Added 2D cylinder benchmark GMSH model
May 27, 2020
53e4ef2
First draft of the transient incompressible Navier-Stokes tutorial
May 27, 2020
cdff0f9
- Added cylinder.gif
oriolcg Jun 4, 2020
b7be42a
Added Drag and Lift coefficients plot to transient_ins tutorial
oriolcg Jun 4, 2020
29ea29f
Formating for documentation
oriolcg Jun 4, 2020
911a2e9
Updated Project.toml
oriolcg Jun 5, 2020
5a6a228
Merge branch 'master' of https://github.com/gridap/Tutorials into tra…
oriolcg Jun 5, 2020
8966dd7
First (non working) version of transient FSI problem.
oriolcg Jun 10, 2020
98d4c7c
Added an auxiliar transient_fsi_debug.jl for debugging purposes.
oriolcg Jun 10, 2020
badf074
Merge branch 'correct_normals' into transient_nsi
oriolcg Jun 10, 2020
9eca4b6
Corrected $n * \sigma$ in transient_inc_navier_stokes.jl
oriolcg Jun 10, 2020
936e09f
Merge branch 'correct_normals' into transient_nsi
oriolcg Jun 10, 2020
c5b9d91
Merge branch 'preparing_version_0.11' of https://github.com/gridap/Tu…
oriolcg Jun 11, 2020
b467202
Updated transient_inc_navier_stokes.jl tutorial to the new product co…
oriolcg Jun 11, 2020
6194356
Merge branch 'transient_nsi' of https://github.com/gridap/Tutorials i…
oriolcg Jun 11, 2020
2e639b7
Debugging transient fsi tutorial
oriolcg Jun 25, 2020
f5fcd15
further developments on the transient fsi tutorial
oriolcg Jul 3, 2020
43caad8
Further developments in transient_fsi_debug.jl
oriolcg Jul 10, 2020
08f8377
Merge branch 'master' of https://github.com/gridap/Tutorials into tra…
Aug 3, 2020
264e465
Updated transient NS tutorial
Aug 3, 2020
69d0471
Minor modifications in transient NSI tutorial.
Aug 4, 2020
69f2a28
Merge branch 'master' of https://github.com/gridap/Tutorials into tra…
oriolcg Feb 3, 2021
796941c
Added *pvd files in .gitignore
oriolcg Feb 3, 2021
1d87637
Updated transient_fsi tutorial (not working yet)
oriolcg Feb 4, 2021
7575992
Deleted temporary files
oriolcg Feb 16, 2021
c5b3091
Merge branch 'master' of https://github.com/gridap/Tutorials into tra…
oriolcg May 25, 2021
8bd4a1b
Working on the transient tutorials
oriolcg May 25, 2021
9a27679
minor changes in transient INS
oriolcg May 25, 2021
0c61594
further devs in transient_inc_NS
oriolcg May 27, 2021
49dc9c5
Temporarily adding manifest
fverdugo Jun 3, 2021
49ff1fb
Moving to Gridap 0.16
fverdugo Jun 3, 2021
76daf77
Renaming functions according Gridap 0.16
fverdugo Jun 3, 2021
44ee68c
Misc fixes to poisson_dev_fe in order to let
amartinhuertas Jun 4, 2021
e378083
Updated comment in poisson dev fe tutorial
amartinhuertas Jun 4, 2021
57cb559
Updated transient NSI
oriolcg Jun 5, 2021
e58e20c
Merge branch 'master' of https://github.com/gridap/Tutorials into tra…
oriolcg Jun 5, 2021
03a0183
Merge branch 'gridap_v0.16' of https://github.com/gridap/Tutorials in…
oriolcg Jun 5, 2021
6ef3565
Updates in transient NS
oriolcg Jun 8, 2021
d6998fc
modifications in transient NS
oriolcg Jun 10, 2021
5fb4317
Minor changes in transient NS
oriolcg Jun 10, 2021
ba942f9
Merge branch 'transient_fsi' into transient_nsi
oriolcg Jun 10, 2021
fbfa091
Changes in transient NS
oriolcg Jun 10, 2021
0b6ce5e
Link to GridapODES#master
oriolcg Jun 10, 2021
a302e5d
Fix in build.jl
oriolcg Jun 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version = "0.10.0"

[deps]
Gridap = "56d4f2e9-7ea1-5844-9cf6-b9c51ca7ce8e"
GridapODEs = "55e38337-5b6e-4c7c-9cfc-e00dd49102e6"
IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a"
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -13,6 +14,7 @@ NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"

[compat]
Gridap = "0.10"
Expand Down
Binary file added assets/cylinder_ins/cylinder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cylinder_ins/cylinder_coeff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ files = [
"Incompressible Navier-Stokes"=>"inc_navier_stokes.jl",
"Stokes equation" => "stokes.jl",
"Isotropic damage model" => "isotropic_damage.jl",
"Fluid-Structure Interaction"=>"fsi_tutorial.jl"]
"Fluid-Structure Interaction"=>"fsi_tutorial.jl",
"Laminar flow around a cylinder"=>"transient_inc_navier_stokes.jl"]

Sys.rm(notebooks_dir;recursive=true,force=true)
for (i,(title,filename)) in enumerate(files)
Expand Down
23 changes: 23 additions & 0 deletions models/cylinder_NSI.geo
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Gmsh project created on Fri Mar 20 14:01:03 2020
SetFactory("OpenCASCADE");

// Define Geometry
Rectangle(1) = {0, 0, 0, 2.2, 0.41, 0};
Disk(2) = {0.2, 0.2, 0, 0.05, 0.05};
BooleanDifference{ Surface{1}; Delete; }{ Surface{2}; Delete; }
Coherence;

// Define mesh sizes
Transfinite Curve {7} = 40 Using Progression 1;
Transfinite Curve {5} = 40 Using Progression 1;
Transfinite Curve {8} = 20 Using Progression 1;
Transfinite Curve {6, 9} = 80 Using Progression 1;

// Define Physical groups//+
Physical Surface("fluid", 1) = {1};
Physical Curve("inlet", 2) = {7};
Physical Curve("outlet", 3) = {8};
Physical Curve("noslip", 4) = {6, 9};
Physical Curve("cylinder", 5) = {5};
Physical Point("noslip", 4) = {6, 8, 9, 7};
Physical Point("cylinder", 5) = {5};
10 changes: 10 additions & 0 deletions models/cylinder_NSI.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Gridap
using Gridap.Io
using GridapGmsh

model = GmshDiscreteModel("cylinder_NSI.msh")

writevtk(model,"cilinder_NSI")

fn = "cylinder_NSI.json"
to_json_file(model,fn)
1 change: 1 addition & 0 deletions models/cylinder_NSI.json

Large diffs are not rendered by default.

Loading