I wanna be sure my model is non-linear.

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
MROCIO
Posts: 7
Joined: Tue Aug 24, 2010 12:08 am
Location: CICATA-IPN

I wanna be sure my model is non-linear.

#1 Unread post by MROCIO »

Hello ROMS users;

Well my doubt is, if my model is really non-linear because in the file .h I'm specifying
#define NONLIN_EOS

The model is compiling and running without problems, but my file log says the next (red are my doubts):
Model Input Parameters: ROMS/TOMS version 3.6
Friday - November 2, 2012 - 2:20:10 PM
-----------------------------------------------------------------------------
Wind-Driven Upwelling/Downwelling over a Periodic Channel
Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /usr/bin/gfortran
Compiler flags : -frepack-arrays -fopenmp -O3 -ffast-math -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none

SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision : 631M

Local Root : /home/rocio/ROMS_SOURCE
Header Dir : /home/rocio/my_model
Header file : panuco.h
Analytical Dir: /home/rocio/my_model

Resolution, Grid 01: 0209x0327x030, Parallel Threads: 16, Tiling: 008x008

Physical Parameters, Grid: 01
=============================

262800 ntimes Number of timesteps for 3-D equations.
120.000 dt Timestep size (s) for 3-D equations.
30 ndtfast Number of timesteps for 2-D equations between
each 3D timestep.
1 ERstr Starting ensemble/perturbation run number.
1 ERend Ending ensemble/perturbation run number.
0 nrrec Number of restart records to read from disk.
T LcycleRST Switch to recycle time-records in restart file.
200000000 nRST Number of timesteps between the writing of data
into restart fields.
90 ninfo Number of timesteps between print of information
to standard output.
T ldefout Switch to create a new output NetCDF file(s).
90 nHIS Number of timesteps between the writing fields
into history file.
90 ndefHIS Number of timesteps between creation of new
history files.
1.0000E+00 nl_tnu2(01) NLM Horizontal, harmonic mixing coefficient
(m2/s) for tracer 01: temp
1.0000E+00 nl_tnu2(02) NLM Horizontal, harmonic mixing coefficient
(m2/s) for tracer 02: salt
5.0000E+00 nl_visc2 NLM Horizontal, harmonic mixing coefficient
(m2/s) for momentum.
1.0000E-06 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
1.0000E-06 Akt_bak(02) Background vertical mixing coefficient (m2/s)
for tracer 02: salt
1.0000E-05 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
5.0000E-06 Akk_bak Background vertical mixing coefficient (m2/s)
for turbulent energy.
5.0000E-06 Akp_bak Background vertical mixing coefficient (m2/s)
for turbulent generic statistical field.
3.0000E-04 rdrg Linear bottom drag coefficient (m/s).
3.0000E-03 rdrg2 Quadratic bottom drag coefficient.
2.0000E-02 Zob Bottom roughness (m).
2 Vtransform S-coordinate transformation equation.
4 Vstretching S-coordinate stretching function.
5.0000E+00 theta_s S-coordinate surface control parameter.
4.0000E-01 theta_b S-coordinate bottom control parameter.
20.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
0.000 dstart Time-stamp assigned to model initialization (days).
0.00 time_ref Reference time for units attribute (yyyymmdd.dd)
5.0000E+00 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
5.0000E+00 Tnudg(02) Nudging/relaxation time scale (days)
for tracer 02: salt
5.0000E+00 Znudg Nudging/relaxation time scale (days)
for free-surface.
5.0000E+00 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
5.0000E+00 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
7.2000E+01 obcfac Factor between passive and active
open boundary conditions.
F VolCons(1) NLM western edge boundary volume conservation.
F VolCons(2) NLM southern edge boundary volume conservation.
F VolCons(3) NLM eastern edge boundary volume conservation.
F VolCons(4) NLM northern edge boundary volume conservation.
14.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.

1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
T LtracerSrc(01) Processing point sources/Sink on tracer 01: temp
T LtracerSrc(02) Processing point sources/Sink on tracer 02: salt
T Hout(idFsur) Write out free-surface.
T Hout(idUbar) Write out 2D U-momentum component.
T Hout(idVbar) Write out 2D V-momentum component.
T Hout(idUvel) Write out 3D U-momentum component.
T Hout(idVvel) Write out 3D V-momentum component.
T Hout(idWvel) Write out W-momentum component.
T Hout(idOvel) Write out omega vertical velocity.
T Hout(idTvar) Write out tracer 01: temp
T Hout(idTvar) Write out tracer 02: salt
T Hout(idUsms) Write out surface U-momentum stress.
T Hout(idVsms) Write out surface V-momentum stress.
Output/Input Files:
Output Restart File: /home/rocio/my_model/Outrst/RST00.nc
Prefix for History Files: /home/rocio/my_model/Output/HIS00
Input Grid File: /home/rocio/my_model/DATA/DATA2004/TAMVERN30_grd.nc
Input Nonlinear Initial File: /home/rocio/my_model/DATA/DATA2004/TAMVERN30_ini.nc
Input Forcing File 01: /home/rocio/my_model/DATA/DATA2004/TAMVERN30_2004_panuS15_frc.nc
Input Boundary File: /home/rocio/my_model/DATA/DATA2004/TAMVERN30_TOPAZ2004_bry.nc



Lateral Boundary Conditions: NLM
============================

Variable Grid West Edge South Edge East Edge North Edge
--------- ---- ---------- ---------- ---------- ----------

zeta 1 Closed Chapman Chapman Chapman

ubar 1 Closed Flather Flather Flather

vbar 1 Closed Flather Flather Flather

u 1 Closed Rad + Nud Rad + Nud Rad + Nud

v 1 Closed Rad + Nud Rad + Nud Rad + Nud

temp 1 Closed Rad + Nud Rad + Nud Rad + Nud

salt 1 Closed Rad + Nud Rad + Nud Rad + Nud

tke 1 Closed Gradient Gradient Gradient

Activated C-preprocessing Options:

/home/rocio/my_model Continental shelf of Tams-North of Ver with Panuco River
ANA_BSFLUX Analytical kinematic bottom salinity flux.
ANA_BTFLUX Analytical kinematic bottom temperature flux.
ASSUMED_SHAPE Using assumed-shape arrays.
DJ_GRADPS Parabolic Splines density Jacobian (Shchepetkin, 2002).
DOUBLE_PRECISION Double precision arithmetic.
MASKING Land/Sea masking.
MIX_ISO_TS Mixing of tracers along isopycnal surfaces.
MIX_GEO_UV Mixing of momentum along geopotential surfaces.
MY25_MIXING Mellor/Yamada Level-2.5 mixing closure.
NONLINEAR Nonlinear Model.
NONLIN_EOS Nonlinear Equation of State for seawater.

_OPENMP OpenMP parallel shared-memory directives.
POWER_LAW Power-law shape time-averaging barotropic filter.
PROFILE Time profiling activated .
K_GSCHEME Third-order upstream advection of TKE fields.
RADIATION_2D Use tangential phase speed in radiation conditions.
!RST_SINGLE Double precision fields in restart NetCDF file.
SALINITY Using salinity.
SOLVE3D Solving 3D Primitive Equations.
SPLINES Conservative parabolic spline reconstruction.
TCLM_NUDGING Nudging toward tracer climatology.
TS_U3HADVECTION Third-order upstream horizontal advection of tracers.
TS_C4VADVECTION Fourth-order centered vertical advection of tracers.
TS_DIF2 Harmonic mixing of tracers.
TS_PSOURCE Tracers point sources and sinks.
UV_ADV Advection of momentum.
UV_COR Coriolis term.
UV_U3HADVECTION Third-order upstream horizontal advection of 3D momentum.
UV_C4VADVECTION Fourth-order centered vertical advection of momentum.
UV_QDRAG Quadratic bottom stress.
UV_PSOURCE Mass point sources and sinks.
UV_VIS2 Harmonic mixing of momentum.
VAR_RHO_2D Variable density barotropic mode.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I don't understand why is using:
14.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.


If these data are in my log file is because the model are using it, right???

Or do I have to turn off something else in my ocean.in file??

Thanks in abvance!!!

Rocio
Last edited by MROCIO on Tue Nov 06, 2012 8:47 pm, edited 1 time in total.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: I wanna be sure my model is non-linear.

#2 Unread post by kate »

You are OK - it is using the nonlinear equation of state. You can tell that from the second of your blue lines. The first of the blue lines means you are using the forward model, as opposed to the tangent linear or adjoint or anything like that.

MROCIO
Posts: 7
Joined: Tue Aug 24, 2010 12:08 am
Location: CICATA-IPN

Re: I wanna be sure my model is non-linear.

#3 Unread post by MROCIO »

Thanks Kate,

Then my model is non-linear and it is not using;
14.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.
That's great!!!!

Post Reply