- #1
kseng
- 4
- 0
Hi All
I'm embarking on a model of a large physical system.
I have a reasonable concept of the model but need advice on which simulators or programming languages to use.
I've developed a (simple) explicit finite difference algorithm in excel for 'a few metres' and 'a few timesteps'.
I have experience programming in Fortran and am confident I could expand the algorithm into Fortran.
I am unsure if this is going to be an efficient tool or method. Please advise on method (explicit FD) and tool (Fortran) given the model scale.
Some details of the problem below.
The system is a wellbore of nearly 1km depth, subsea.
This determines the need for cylindrical coordinate system.
The boundary conditions are mostly straightforward
The sea temperature fixes the upper plane temperature.
Geothermal gradient determines the initial dT/dz and also fixes T at r=infinity.
Geothermal heat flux will be approximated by fixing temperature (say) 20-50m below the wellbore for all t.
The temperature of the cylinder centre will cool and heat as fluid is injected/withdrawn.
The rock thermal properties are consistent.
The wellbore consists of several material layers (cement, steel pipe, brine, nitrogen).
The aim is to track temperature variation over a period of several months.
I may have to dovetail this with a reservoir thermal simulation.
I'm embarking on a model of a large physical system.
I have a reasonable concept of the model but need advice on which simulators or programming languages to use.
I've developed a (simple) explicit finite difference algorithm in excel for 'a few metres' and 'a few timesteps'.
I have experience programming in Fortran and am confident I could expand the algorithm into Fortran.
I am unsure if this is going to be an efficient tool or method. Please advise on method (explicit FD) and tool (Fortran) given the model scale.
Some details of the problem below.
The system is a wellbore of nearly 1km depth, subsea.
This determines the need for cylindrical coordinate system.
The boundary conditions are mostly straightforward
The sea temperature fixes the upper plane temperature.
Geothermal gradient determines the initial dT/dz and also fixes T at r=infinity.
Geothermal heat flux will be approximated by fixing temperature (say) 20-50m below the wellbore for all t.
The temperature of the cylinder centre will cool and heat as fluid is injected/withdrawn.
The rock thermal properties are consistent.
The wellbore consists of several material layers (cement, steel pipe, brine, nitrogen).
The aim is to track temperature variation over a period of several months.
I may have to dovetail this with a reservoir thermal simulation.
Last edited: