Difference between revisions of "bio Fennel.in"

From WikiROMS
Jump to navigationJump to search
Line 2: Line 2:


The <span class="red">bio_Fennel.in</span> file sets the parameters for the '''bio_Fennel''' (formerly bio_Fasham) model. The name of this file is set by the [[Variables#bparnam|BPARNAM]] keyword in the [[ocean.in]] file. A default <span class="red">bio_Fennel.in</span> standard input ASCII file can be found in the '''User/External''' subdirectory of the ROMS source code. In order to include the '''bio_Fennel''' model in ROMS you must set [[Variables#bparnam|BPARNAM]] correctly and activate the [[BIO_FENNEL]] [[Options|CPP option]].
The <span class="red">bio_Fennel.in</span> file sets the parameters for the '''bio_Fennel''' (formerly bio_Fasham) model. The name of this file is set by the [[Variables#bparnam|BPARNAM]] keyword in the [[ocean.in]] file. A default <span class="red">bio_Fennel.in</span> standard input ASCII file can be found in the '''User/External''' subdirectory of the ROMS source code. In order to include the '''bio_Fennel''' model in ROMS you must set [[Variables#bparnam|BPARNAM]] correctly and activate the [[BIO_FENNEL]] [[Options|CPP option]].
{| id="var_tab" border="1" cellspacing="0" cellpadding="5" align="center"
!#
!index
! align="left" | Description
!Units
! align="left" | NetCDF variable
|-
| align="right" | 1
|iNO3_
|Nitrate concentration
|mmol/m<sup>3</sup>
|NO3
|-
|align="right" | 2
|iNH4_
|Ammonium concentration
|mmol/m<sup>3</sup>
|NH4
|-
|align="right" | 3
|iChlo
|Chorophyll concentration
|mmol/m<sup>3</sup>
|chlorophyll
|-
|align="right" | 4
|iPhyt
|Phytoplankton biomass
|mmol/m<sup>3</sup>
|phytoplankton
|-
|align="right" | 5
|iZoop
|Zooplankton biomass
|mmol/m<sup>3</sup>
|zooplankton
|-
|align="right" | 6
|iLDeN
|Large detritus N-concentration
|mmol/m<sup>3</sup>
|LdetritusN
|-
|align="right" | 7
|iSDeN
|Small detritus N-concentration
|mmol/m<sup>3</sup>
|SdetritusN
|-
|align="right" | 8
|iLDeC
|Large detritus C-concentration
|mmol/m<sup>3</sup>
|LdetritusC
|-
|align="right" | 9
|iSDeC
|Small detritus C-concentration
|mmol/m<sup>3</sup>
|SdetritusC
|-
|align="right" | 10
|iTIC_
|Total inorganic carbon
|mmol/m<sup>3</sup>
|TIC
|-
|align="right" | 11
|iTAlk
|Alkalinity
|mmol/m<sup>3</sup>
|alkalinity
|-
|align="right" | 12
|iOxyg
|Oxygen concentration
|mmol/m<sup>3</sup>
|oxygen
|}
The "'''#'''" column denotes the internal index number within the idbio array while the "'''index'''" column is the index within the tracer array '''t'''(:,:,:,:,'''index''').




Line 120: Line 204:
:<div class="box">    [[Variables#pCO2air|pCO2air]] == 370.0d0</div>
:<div class="box">    [[Variables#pCO2air|pCO2air]] == 370.0d0</div>


*Lateral, constant, harmonic/biharmonic horizontal diffusion of biological tracer for nonlinear model and adjoint-based algorithms: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected.
*Lateral, constant, harmonic/biharmonic horizontal diffusion of biological tracer for nonlinear model and adjoint-based algorithms: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected. The 12 values correspond to the [[#var_tab|Variable Index Table]] at the top of this page.
:<div class="box">        [[Variables#TNU2|TNU2]] == 12*0.0d0              ! m<sup>2</sup>/s<br />        [[Variables#TNU4|TNU4]] == 12*0.0d0              ! m<sup>4</sup>/s<br /><br />    [[Variables#ad_TNU2|ad_TNU2]] == 12*0.0d0              ! m<sup>2</sup>/s<br />    [[Variables#ad_TNU4|ad_TNU4]] == 12*0.0d0              ! m<sup>4</sup>/s</div>
:<div class="box">        [[Variables#TNU2|TNU2]] == 12*0.0d0              ! m<sup>2</sup>/s<br />        [[Variables#TNU4|TNU4]] == 12*0.0d0              ! m<sup>4</sup>/s<br /><br />    [[Variables#ad_TNU2|ad_TNU2]] == 12*0.0d0              ! m<sup>2</sup>/s<br />    [[Variables#ad_TNU4|ad_TNU4]] == 12*0.0d0              ! m<sup>4</sup>/s</div>


*Vertical mixing coefficients for biological tracers: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected.
*Vertical mixing coefficients for biological tracers: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected. The 12 values correspond to the [[#var_tab|Variable Index Table]] at the top of this page.
:<div class="box">    [[Variables#AKT_BAK|AKT_BAK]] == 12*1.0d-6            ! m<sup>2</sup>/s<br /><br />  [[Variables#ad_AKT_fac|ad_AKT_fac]] == 12*1.0d0              ! nondimensional</div>
:<div class="box">    [[Variables#AKT_BAK|AKT_BAK]] == 12*1.0d-6            ! m<sup>2</sup>/s<br /><br />  [[Variables#ad_AKT_fac|ad_AKT_fac]] == 12*1.0d0              ! nondimensional</div>


*Nudging/relaxation time scales, inverse scales will be computed internally: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected.
*Nudging/relaxation time scales, inverse scales will be computed internally: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected. The 12 values correspond to the [[#var_tab|Variable Index Table]] at the top of this page.
:<div class="box">      [[Variables#TNUDG|TNUDG]] == 12*0.0d0              ! days</div>
:<div class="box">      [[Variables#TNUDG|TNUDG]] == 12*0.0d0              ! days</div>


*Logical switches to specify which variables to consider on tracers point Sources/Sinks (like river runoff): [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected.
*Logical switches to specify which variables to consider on tracers point Sources/Sinks (like river runoff): [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected. The 12 switches correspond to the [[#var_tab|Variable Index Table]] at the top of this page.
:<div class="box">  [[Variables#LtracerSrc|LtracerSrc]] == 12*F</div>
:<div class="box">  [[Variables#LtracerSrc|LtracerSrc]] == 12*F</div>


*Logical switches to activate writing of biological tracers into history output file: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected.
*Logical switches to activate writing of biological tracers into history output file: [1:[[Variables#NBT|NBT]],[[Variables#Ngrids|Ngrids]]] values expected. The 12 switches correspond to the [[#var_tab|Variable Index Table]] at the top of this page.
:<div class="box">[[Variables#Hout(idTvar)|Hout(idTvar)]] == 12*T                  ! biological tracer<br />[[Variables#Hout(idTsur)|Hout(idTsur)]] == 12*F                  ! surface tracer flux<br /><br />!    idTvar(idbio( 1))=iNO3_    Nitrate concentration<br />!    idTvar(idbio( 2))=iNH4_    Ammonium concentration<br />!    idTvar(idbio( 3))=iChlo    Chorophyll concentration<br />!    idTvar(idbio( 4))=iPhyt    Phytoplankton biomass<br />!    idTvar(idbio( 5))=iZoop    Zooplankton biomass<br />!    idTvar(idbio( 6))=iLDeN    Large detritus N-concentration<br />!    idTvar(idbio( 7))=iSDeN    Small detritus N-concentration<br />!    idTvar(idbio( 8))=iLDeC    Large detritus C-concentration<br />!    idTvar(idbio( 9))=iSDeC    Small detritus C-concentration<br />!    idTvar(idbio(10))=iTIC_    Total inorganic carbon<br />!    idTvar(idbio(11))=iTAlk    Alkalinity<br />!    idTvar(idbio(12))=iOxyg    Oxygen concentration</div>
:<div class="box">[[Variables#Hout(idTvar)|Hout(idTvar)]] == 12*T                  ! biological tracer<br />[[Variables#Hout(idTsur)|Hout(idTsur)]] == 12*F                  ! surface tracer flux</div>
<!--:As an example, if you wanted to exclude '''zooplankton biomass''' and '''alkalinity''' from writing to the history and averages files you would enter the following:
:<div class="box">[[Variables#Hout(idTvar)|Hout(idTvar)]] == 4*T F 5*T F T</div>-->


*Logical switches to activate writing of diagnostics terms into diagnostic output file [1:[[Variables#Ngrids|Ngrids]]] values expected.
*Logical switches to activate writing of diagnostics terms into diagnostic output file [1:[[Variables#Ngrids|Ngrids]]] values expected.
:<div class="box"> [[Variables#Hout(iCOfx)|Hout(iCOfx)]] == T                      ! air-sea CO<sub>2</sub> flux<br /> [[Variables#Hout(iDNIT)|Hout(iDNIT)]] == T                      ! denitrification flux<br /> [[Variables#Hout(ipCO2)|Hout(ipCO2)]] == T                      ! CO<sub>2</sub> partial pressure<br /> [[Variables#Hout(iO2fx)|Hout(iO2fx)]] == T                      ! air-sea O<sub>2</sub> flux<br /> [[Variables#Hout(iPPro)|Hout(iPPro)]] == T                      ! primary production<br /> [[Variables#Hout(iNO3u)|Hout(iNO3u)]] == T                      ! NO<sub>3</sub> uptake</div>
:<div class="box"> [[Variables#Hout(iCOfx)|Hout(iCOfx)]] == T                      ! air-sea CO<sub>2</sub> flux<br /> [[Variables#Hout(iDNIT)|Hout(iDNIT)]] == T                      ! denitrification flux<br /> [[Variables#Hout(ipCO2)|Hout(ipCO2)]] == T                      ! CO<sub>2</sub> partial pressure<br /> [[Variables#Hout(iO2fx)|Hout(iO2fx)]] == T                      ! air-sea O<sub>2</sub> flux<br /> [[Variables#Hout(iPPro)|Hout(iPPro)]] == T                      ! primary production<br /> [[Variables#Hout(iNO3u)|Hout(iNO3u)]] == T                      ! NO<sub>3</sub> uptake</div>

Revision as of 19:49, 7 December 2009

Fennel Model Input Script - bio_Fennel.in

The bio_Fennel.in file sets the parameters for the bio_Fennel (formerly bio_Fasham) model. The name of this file is set by the BPARNAM keyword in the ocean.in file. A default bio_Fennel.in standard input ASCII file can be found in the User/External subdirectory of the ROMS source code. In order to include the bio_Fennel model in ROMS you must set BPARNAM correctly and activate the BIO_FENNEL CPP option.


# index Description Units NetCDF variable
1 iNO3_ Nitrate concentration mmol/m3 NO3
2 iNH4_ Ammonium concentration mmol/m3 NH4
3 iChlo Chorophyll concentration mmol/m3 chlorophyll
4 iPhyt Phytoplankton biomass mmol/m3 phytoplankton
5 iZoop Zooplankton biomass mmol/m3 zooplankton
6 iLDeN Large detritus N-concentration mmol/m3 LdetritusN
7 iSDeN Small detritus N-concentration mmol/m3 SdetritusN
8 iLDeC Large detritus C-concentration mmol/m3 LdetritusC
9 iSDeC Small detritus C-concentration mmol/m3 SdetritusC
10 iTIC_ Total inorganic carbon mmol/m3 TIC
11 iTAlk Alkalinity mmol/m3 alkalinity
12 iOxyg Oxygen concentration mmol/m3 oxygen


The "#" column denotes the internal index number within the idbio array while the "index" column is the index within the tracer array t(:,:,:,:,index).


The Fennel model equations and representative parameters may be found in:


Note Notice: Detailed information about ROMS input script file syntax can be found here.


Biological Model Parameters

Input parameter units are specified within brackets ([ ])and default values are specified within braces ({ }).

  • This switch controls the computation of bioFennel within nested and/or multiple connected grids. By default this switch is set to TRUE in mod_scalars.F for all grids. Ngrids values are expected. The user has the option, for example, to compute the biology in just one of the nested grids. If so, this switch needs to be consistent with the dimension parameter NBT in mod_param.F. In order to make the model more efficient in memory usage, NBT(:) should be zero in such grids.
Lbiology == T
  • Maximum number of iterations to achieve convergence of the nonlinear solution.
BioIter == 1
  • Light attenuation due to seawater [1/m], {0.04d0}.
AttSW == 0.04d0
  • Light attenuation by chlorophyll [1/(mg_Chl m2)], {0.02486d0}.
AttChl == 0.02486d0
  • Fraction of shortwave radiation that is photosynthetically active [nondimensional], {0.43d0}.
PARfrac == 0.43d0
  • Eppley temperature-limited growth parameter [nondimensional], {1.0d0}.
Vp0 == 1.0d0
  • Radiation threshold for nitrification inhibition [Watts/m2], {0.0095d0}.
I_thNH4 == 0.0095d0
  • Half-saturation radiation for nitrification inhibition [Watts/m2], {0.036d0}.
D_p5NH4 == 0.1d0
  • Nitrification rate: oxidation of NH4 to NO3 [1/day], {0.05d0}.
NitriR == 0.05d0
  • Inverse half-saturation for phytoplankton NO3 uptake [1/(millimole_N m-3)], {2.0d0}.
K_NO3 == 2.0d0
  • Inverse half-saturation for phytoplankton NH4 uptake [1/(millimole_N m-3)], {2.0d0}.
K_NH4 == 2.0d0
  • Zooplankton half-saturation constant (squared) for ingestion [millimole_N m-3]2, {1.0d0}.
K_Phy == 2.0d0
  • Maximum chlorophyll to carbon ratio [mg_Chl/mg_C], {0.0535d0}.
Chl2C_m == 0.0535d0
  • Chlorophyll minimum threshold value [mg_Chl/m3], {0.0d0}.
ChlMin == 0.001d0
  • Phytoplankton Carbon:Nitrogen ratio [mole_C/mole_N] , {6.625d0}.
PhyCN == 6.625d0
  • Phytoplankton, NH4 inhibition parameter [1/(millimole_N)], {1.5d0}.
PhyIP == 1.5d0
  • Phytoplankton, initial slope of P-I curve [mg_C/(mg_Chl Watts m-2 day)], {0.025d0}.
PhyIS == 0.025d0
  • Phytoplankton minimum threshold value [millimole_N/m3], {0.0d0}.
PhyMin == 0.001d0
  • Phytoplankton mortality rate [1/day], {0.072d0}.
PhyMR == 0.15d0
  • Zooplankton Nitrogen assimilation efficiency [nondimesnional], {0.75d0}.
ZooAE_N == 0.75d0
  • Zooplankton Basal metabolism [1/day], {0.1d0}.
ZooBM == 0.1d0
  • Zooplankton Carbon:Nitrogen ratio [mole_C/mole_N], {5.0d0}.
ZooCN == 6.625d0
  • Zooplankton specific excretion rate [1/day], {0.1d0}.
ZooER == 0.1d0
  • Zooplankton maximum growth rate [1/day], {0.75d0}.
ZooGR == 0.6d0
  • Zooplankton minimum threshold value [millimole_N/m3], {0.0d0}.
ZooMin == 0.001d0
  • Zooplankton mortality rate [1/day], {0.025d0}.
ZooMR == 0.025d0
  • Large detritus remineralization rate N-fraction [1/day], {0.01d0}.
LDeRRN == 0.01d0
  • Large detritus remineralization rate C-fraction [1/day].
LDeRRC == 0.01d0
  • Coagulation rate: aggregation rate of SDeN + Phy ==> LDeN [1/day], {0.005d0}.
CoagR == 0.005d0
  • Small detritus remineralization rate N-fraction [1/day], {0.03d0}.
SDeRRN == 0.03d0
  • Small detritus remineralization rate C-fraction[1/day].
SDeRRC == 0.03d0
  • Vertical sinking velocity for phytoplankton [m/day], {0.1d0}.
wPhy == 0.1d0
  • Vertical sinking velocity for large detritus [m/day], {1.0d0}.
wLDet == 1.0d0
  • Vertical sinking velocity for small detritus [m/day], {0.1d0}.
wSDet == 0.1d0
  • CO2 partial pressure in the air (parts per million by volume), {377.0d0}.
pCO2air == 370.0d0
  • Lateral, constant, harmonic/biharmonic horizontal diffusion of biological tracer for nonlinear model and adjoint-based algorithms: [1:NBT,Ngrids] values expected. The 12 values correspond to the Variable Index Table at the top of this page.
TNU2 == 12*0.0d0  ! m2/s
TNU4 == 12*0.0d0  ! m4/s

ad_TNU2 == 12*0.0d0  ! m2/s
ad_TNU4 == 12*0.0d0  ! m4/s
  • Vertical mixing coefficients for biological tracers: [1:NBT,Ngrids] values expected. The 12 values correspond to the Variable Index Table at the top of this page.
AKT_BAK == 12*1.0d-6  ! m2/s

ad_AKT_fac == 12*1.0d0  ! nondimensional
  • Nudging/relaxation time scales, inverse scales will be computed internally: [1:NBT,Ngrids] values expected. The 12 values correspond to the Variable Index Table at the top of this page.
TNUDG == 12*0.0d0  ! days
  • Logical switches to specify which variables to consider on tracers point Sources/Sinks (like river runoff): [1:NBT,Ngrids] values expected. The 12 switches correspond to the Variable Index Table at the top of this page.
LtracerSrc == 12*F
  • Logical switches to activate writing of biological tracers into history output file: [1:NBT,Ngrids] values expected. The 12 switches correspond to the Variable Index Table at the top of this page.
Hout(idTvar) == 12*T  ! biological tracer
Hout(idTsur) == 12*F  ! surface tracer flux
  • Logical switches to activate writing of diagnostics terms into diagnostic output file [1:Ngrids] values expected.
Hout(iCOfx) == T  ! air-sea CO2 flux
Hout(iDNIT) == T  ! denitrification flux
Hout(ipCO2) == T  ! CO2 partial pressure
Hout(iO2fx) == T  ! air-sea O2 flux
Hout(iPPro) == T  ! primary production
Hout(iNO3u) == T  ! NO3 uptake