Custom Query (986 matches)
Results (280 - 282 of 986)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#376 | Done | IMPORTANT: New parameters in input script files | ||
Description |
All the input script files were updated to include new parameters:
! Harmonic/biharmonic horizontal diffusion of tracer for nonlinear model ! and adjoint-based algorithms: [1:NAT+NPT,Ngrids]. TNU2 == 0.0d0 0.0d0 ! m2/s TNU4 == 0.0d0 0.0d0 ! m4/s ad_TNU2 == 50.0d0 50.0d0 ! m2/s ad_TNU4 == 2.0d+10 2.00d+10 ! m4/s ! Harmononic/biharmonic, horizontal viscosity coefficient for nonlinear model ! and adjoint-based algorithms: [Ngrids]. VISC2 == 0.0d0 ! m2/s VISC4 == 0.0d0 ! m4/s ad_VISC2 == 50.0d0 ! m2/s ad_VISC4 == 2.0d+10 ! m4/s
! Logical switches (TRUE/FALSE) to specify which variables to consider on ! tracers point Sources/Sinks (like river runoff): [1:NAT+NPT,Ngrids]. ! See glossary below for details. LtracerSrc == T T ! temperature, salinity, inert This changes affect all ROMS input scripts: ocean.in, bio_Fennel.in, ecosim.in, nemuro.in, npzd_Franks.in, npzd_Powell.in, npzd_iron.in, and sediment.in. The changes are simple and backward compatible. WARNING: the point sources (TS_PSOURCE) of tracers are modified as follows in ocean.in: ! LtracerSrc Logical switches (T/F) to specify which tracer variables ! to consider when the option TS_PSOURCE is activated. Only ! NAT active tracers (temperature, salinity) and NPT inert ! tracers need to be specified here: ! ! LtracerSrc(itemp,ng) for temperature (itemp=1) ! LtracerSrc(isalt,ng) for salinity (isalt=2) ! LtracerSrc(NAT+1,ng) for inert tracer 1 ! ... ... ! LtracerSrc(:,NAT+NPT) for inert tracer NPT ! ! Other biological and sediment tracers switches are specified in ! their respective input scrips. ! ! Recall that TS_PSOURCE is usually activated to add river runoff ! as a point source. At minimum, it is necessary to specify both ! temperature and salinity for all rivers. The other tracers are ! optional. ! ! This logical switch REPLACES and ELIMINATES the need to have ! or read the variable "river_flag(river)" in the input rivers ! forcing NetCDF file: ! ! double river_flag(river) ! river_flag:long_name = "river runoff tracer flag" ! river_flag:option_0 = "all tracers are off" ! river_flag:option_1 = "only temperature" ! river_flag:option_2 = "only salinity" ! river_flag:option_3 = "both temperature and salinity" ! river_flag:units = "nondimensional" ! ! This logic was too cumbersome and complicated when additional ! tracers are considered. However, this change is backward ! compatible. ! ! The LtracerSrc switch will be used to activate the reading of ! respective tracer variable from input river forcing NetCDF ! file. If you want to add other tracer variables (other than ! temperature and salinity) as a source for a particular river(s), ! you just need to specify such values on those river(s). Then, ! set the values to ZERO on the other river(s) that do NOT ! require such river forcing for that tracer. Recall that you ! need to specify the tracer values for all rivers, even if ! their values are zero. Please check any of the biological and sediment model input scripts for more details. The old logic was too cumbersome and complicated. Notice that a lot of files were changed. Notice that ana_psource.h was updated and no longer has the Lsrc argument. I am looking in more detail the river runoff (point sources) and I expect to update this capability in the future. |
|||
#377 | Fixed | make bug on cygwin | ||
Description |
A few months ago, a correction was made in the makefile to correctly use source-to-object = $(call source-dir-to-binary-dir, \ $(subst .F,.o,$1)) The word 'binary' was misspelled, and is now correct. However, that fix has created a problem. I can not correclty build on Cygwin. Cygwin now creates *.obj files. The Cygwin-ifort.mk file has a catch to force ifort to make *.o not *.obj using %.o: %.f90 cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) $(notdir $<) /object:$(notdir $@) However, this line is not invoked anymore. I traced it back to the makefile, and was able to get it to build correctly by modifying line 278-279 from $1: $2 $3 cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2) to $1: $2 $3 cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2) /object:$(notdir $1) |
|||
#378 | Fixed | SOURCE(ng)%Ltracer and SOURCE(ng)%Lsrc | ||
Description |
The variables SOURCE(ng)%Ltracer and SOURCE(ng)%Lsrc were removed in src:ticket:376. However, this variables were still used in get_data.F and set_data.F. Now, only the variable LtracerSrc(itrc,ng) needs to be used. This variable is now declared in mod_scalars.h. Many thanks to Mathieu Dutour for reporting this bug. |