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

Ti convect #4

Open
wants to merge 78 commits into
base: Treasure_Island
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
24bd7a1
add gradient in x direction
shyaan Aug 16, 2020
6091bdb
a little bit revise
shyaan Aug 17, 2020
ed0568a
add convect
shyaan Aug 20, 2020
35a5e51
add more building piles
shyaan Aug 21, 2020
ca09026
change the perm data
shyaan Aug 21, 2020
3272398
check zero pressure location
shyaan Aug 24, 2020
7b8b67f
change the time recording
shyaan Aug 26, 2020
fc480c0
add return
shyaan Aug 26, 2020
de4a242
cyclic loading
shyaan Aug 27, 2020
caf1fee
10years
shyaan Aug 27, 2020
2fdef6e
reviese a little
shyaan Aug 27, 2020
64fe117
add ;
shyaan Aug 27, 2020
02486d7
change back to one year simulation
shyaan Aug 27, 2020
093c008
change the distr in x direction
shyaan Aug 28, 2020
5ba2ac5
change the pressure distr
shyaan Aug 28, 2020
10cb783
change the boundary
shyaan Aug 28, 2020
59ee5a7
change back
shyaan Aug 29, 2020
c99e211
pressure bd change it to 10000
shyaan Aug 31, 2020
3dd4992
change to cyclic loading
shyaan Aug 31, 2020
a68d06a
fast flow rate
shyaan Aug 31, 2020
79d4226
ticktock
shyaan Sep 3, 2020
51f20b9
ticktock2
shyaan Sep 3, 2020
5360ee9
recover all
shyaan Sep 3, 2020
1776694
remove binary files
shyaan Sep 8, 2020
4b411dc
change inputfiles
shyaan Sep 8, 2020
4407701
add file name
shyaan Sep 8, 2020
bd35e73
add new boundary number
shyaan Sep 9, 2020
1507476
little revise
shyaan Sep 9, 2020
c03bb30
little revise
shyaan Sep 9, 2020
95b6a58
change the g_T_seabed_grad
shyaan Sep 10, 2020
9d19867
change the bnd
shyaan Sep 11, 2020
5351eeb
change comma
shyaan Sep 11, 2020
a4cea77
add parameter settings and change the wellbore T
shyaan Sep 25, 2020
dad9228
revise the surface gp coord
shyaan Sep 25, 2020
cf5d13c
change the p gradient
shyaan Sep 26, 2020
53f2207
change the Tb well boundary
shyaan Sep 26, 2020
5d521b7
Merge pull request #10 from shyaan/TI_convect
shyaan Sep 26, 2020
ec3a5a5
reset the wellbore boundary
shyaan Sep 26, 2020
cab2a9d
reset boundary
shyaan Sep 26, 2020
068a84f
60m T
shyaan Sep 26, 2020
01c00f5
change the pressure grad
shyaan Sep 26, 2020
3d70f1f
cyclic loading
shyaan Sep 27, 2020
aa0f3ac
change bnd settins
shyaan Sep 27, 2020
85ffe16
revise a tiny mistake
shyaan Sep 27, 2020
11b6cd5
change flow rate
shyaan Sep 27, 2020
67338c5
revising the boundary conditions
shyaan Sep 30, 2020
0a90f8c
change the boudnary settings
shyaan Sep 30, 2020
0399af3
change to high perm
shyaan Sep 30, 2020
b4dddee
high speed
shyaan Oct 1, 2020
841909b
change the flow rate
shyaan Oct 1, 2020
ce49872
debug convection
shyaan Oct 1, 2020
3d11dad
change the conductivity
shyaan Oct 1, 2020
3f59e72
remove the distribution of thermal coeeficitent
shyaan Oct 1, 2020
ee64453
change baeck
shyaan Oct 1, 2020
3ebce53
remove convection
shyaan Oct 2, 2020
9d363f1
apply p gradient
shyaan Oct 2, 2020
b00c856
Merge pull request #11 from shyaan/TI_convect
shyaan Oct 2, 2020
374a37c
CHANGE THE BOUNDARY OF PRESSURE
shyaan Oct 2, 2020
708b563
change time step
shyaan Oct 2, 2020
d82a0fb
decrease the magnitude of injection
shyaan Oct 2, 2020
0d5a79d
change the time step
shyaan Oct 2, 2020
053a49c
change back the magnitude
shyaan Oct 2, 2020
dc3dba0
change back
shyaan Oct 2, 2020
d0d9b46
change bulk modulus
shyaan Oct 2, 2020
73ca0d0
larger B_w
shyaan Oct 3, 2020
4b8ecf1
increase permeability
shyaan Oct 3, 2020
be063ca
add pressure difference
shyaan Oct 3, 2020
21765a4
change the dimension
shyaan Oct 3, 2020
157c277
applied seasonal top changing
shyaan Oct 3, 2020
31073d4
includ externalfunc
shyaan Oct 3, 2020
4310702
change the unit of temperature
shyaan Oct 3, 2020
4391965
reduce perm
shyaan Oct 3, 2020
0df6731
APPLY LOW T AT BOTTOM BOUNDARY
shyaan Oct 4, 2020
87d212a
revise a tiny error
shyaan Oct 4, 2020
7c8c714
change mesh
shyaan Oct 5, 2020
0dd0ba0
Merge pull request #12 from shyaan/TI_convect
shyaan Oct 6, 2020
7cc80ec
change back
shyaan Oct 10, 2020
2f86759
Merge pull request #13 from shyaan/TI_convect
shyaan Oct 10, 2020
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: 1 addition & 1 deletion include/boundaryvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ double PressureDirichletBoundaryValues<dim>::value(
// g_P_bnd_id + g_num_P_bnd_id) {
// return g_Pb_top + g_P_grad * (0. - p[2]);
// }
return g_Pb_top + g_P_grad * (0. - p[2]);
return g_Pb_top + g_P_grad * (0. - p[2]) + g_P_grad_x * (0 - p[0]);
}

template <int dim>
Expand Down
3 changes: 2 additions & 1 deletion include/globalvariables.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const int g_P_bnd_id[g_num_P_bnd_id] = {

const double g_Pb_top = 0; // pressure at the top of model
const double g_P_grad = 1000 * 9.8; // pressure gradient in vertial direction
const double g_P_grad_x = 1000 * 9.8 * 10 / 2000; // 2000m drops ten meters

// Velocity settings
// const int g_num_QP_bnd_id = 4; // numbers of velocity boudnary condition id
Expand Down Expand Up @@ -122,7 +123,7 @@ const int g_T_bnd_id[g_num_T_bnd_id] = {13, 9, 3, 6, 1, 2,
const double g_Tb_well = 273.15 + 25; // wellbore temperature
const double g_Tb_top = 273.15 + 15; // termperature at the top of model
const double g_Tb_bottom = 273.15 + 18;
const double g_Tb_seabed_top = 273.15 + 5; // termperature at the top of model
const double g_Tb_seabed_top = 273.15 + 15; // termperature at the top of model
const double g_Tb_seabed_bottom = g_Tb_bottom;
const double g_T_grad = (g_Tb_bottom - g_Tb_top) /
60.96; // temperature gradient in verital direction
Expand Down
4 changes: 2 additions & 2 deletions include/initialvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PressureInitialValues : public Function<dim> {
template <int dim>
double PressureInitialValues<dim>::value(const Point<dim>& p,
const unsigned int) const {
return g_Pb_top + g_P_grad * (0. - p[2]);
return g_Pb_top + g_P_grad * (0. - p[2]) + g_P_grad_x * (0 - p[0]);
}

// template <int dim>
Expand All @@ -53,7 +53,7 @@ template <int dim>
double TemperatureInitialValues<dim>::value(const Point<dim>& p,
const unsigned int) const {
const int poly_sides = 7;
double poly_x[poly_sides] = {0, 0, -289.56, -1371.6,
double poly_x[poly_sides] = {0, 0, -289.56, -1371.6,
-1626.108, -1626.108, -1371.6};
double poly_y[poly_sides] = {0, 710.184, 1000.658, 1000.658,
710.184, 279.806, 0};
Expand Down