# \#physics-params

**URL:** https://forum.croco-ocean.org/tag/physics-params/17.md

[Latest](https://forum.croco-ocean.org/latest.md) · [Categories](https://forum.croco-ocean.org/categories.md) · [Tags](https://forum.croco-ocean.org/tags.md)

---

## [READ\_PATM, OBC\_PATM and Inverse Barometer Effect](https://forum.croco-ocean.org/t/read-patm-obc-patm-and-inverse-barometer-effect/7383)

<div class="topic-metadata">

**Author:** [@jvmcgovern](https://forum.croco-ocean.org/u/jvmcgovern)\
**Replies:** 0\
**Last updated:** [June 16, 2025, 8:50pm UTC](https://forum.croco-ocean.org/t/read-patm-obc-patm-and-inverse-barometer-effect/7383 "2025-06-16T20:50:07Z")

</div>

Hi All, I can see in the CROCO code that OBC\_PATM adds the inverse barometer effect at the boundary. This would suggest that OBC\_PATM should be switched off if the forcing model at the boundary includes the inverse baro…

---

## [Nesting and Periodic boundaries not working correctly](https://forum.croco-ocean.org/t/nesting-and-periodic-boundaries-not-working-correctly/368)

<div class="topic-metadata">

**Author:** [@vcombes](https://forum.croco-ocean.org/u/vcombes)\
**Replies:** 4\
**Last updated:** [January 27, 2025, 8:56am UTC](https://forum.croco-ocean.org/t/nesting-and-periodic-boundaries-not-working-correctly/368 "2025-01-27T08:56:12Z")

</div>

Hi, This is an issue that Patrick Marchesiello solved for me ~12 years ago in an old version of ROMS\_Agrif. However, this patch was apparently not applied to the Croco model: I have downloaded the last version of Croc…

---

## [About BD\_EXCHANGE](https://forum.croco-ocean.org/t/about-bd-exchange/928)

<div class="topic-metadata">

**Author:** [@oartal1](https://forum.croco-ocean.org/u/oartal1)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 2:58pm UTC](https://forum.croco-ocean.org/t/about-bd-exchange/928 "2024-12-03T14:58:57Z")

</div>

Hello everyone, I’m writing to ask for some guidance. Until a few months ago, I was using version 1.3 without any issues for 3-day forecasts. Recently, I upgraded to version 2.0.1 and tested a simulation that had previo…

---

## [PISCES time step frequency](https://forum.croco-ocean.org/t/pisces-time-step-frequency/778)

<div class="topic-metadata">

**Author:** [@Konstantinos\_K](https://forum.croco-ocean.org/u/Konstantinos_K)\
**Replies:** 4\
**Last updated:** [August 12, 2024, 7:43am UTC](https://forum.croco-ocean.org/t/pisces-time-step-frequency/778 "2024-08-12T07:43:03Z")

</div>

Hi, I am assuming that the setting below found in the “namelist\_pisces\_ref” file containing parameters for PISCES is supposed to give the option to have a different time step (relative to the CROCO time step?) only for …

---

## [PISCES blow-up after switching from TPXO7 to TPXO9.5](https://forum.croco-ocean.org/t/pisces-blow-up-after-switching-from-tpxo7-to-tpxo9-5/438)

<div class="topic-metadata">

**Author:** [@jvmcgovern](https://forum.croco-ocean.org/u/jvmcgovern)\
**Replies:** 3\
**Last updated:** [May 27, 2024, 9:15pm UTC](https://forum.croco-ocean.org/t/pisces-blow-up-after-switching-from-tpxo7-to-tpxo9-5/438 "2024-05-27T21:15:24Z")

</div>

Hi All, My CROCO-PISCES model (km-scale, 20 layers) is blowing up since I switched my tidal forcing from TPXO7 to TPXO9.5. The motivation to switch between them is the apparent errors in M2 tides from TPXO7 in my domain…

---

## [Abnormal blow up](https://forum.croco-ocean.org/t/abnormal-blow-up/362)

<div class="topic-metadata">

**Author:** [@ify](https://forum.croco-ocean.org/u/ify)\
**Replies:** 5\
**Last updated:** [April 24, 2024, 2:15am UTC](https://forum.croco-ocean.org/t/abnormal-blow-up/362 "2024-04-24T02:15:25Z")

</div>

Hello CROCO Users, I am setting up a configuration for the coastal region of mediterranean sea with CROCO. Upon using the thrifty crocotools box, I manage to see up my model domain etc. However, I notice my initial cond…

---

## [Errors and questions implementing a USGS sediment model](https://forum.croco-ocean.org/t/errors-and-questions-implementing-a-usgs-sediment-model/629)

<div class="topic-metadata">

**Author:** [@cesar90](https://forum.croco-ocean.org/u/cesar90)\
**Replies:** 7\
**Last updated:** [April 23, 2024, 6:12pm UTC](https://forum.croco-ocean.org/t/errors-and-questions-implementing-a-usgs-sediment-model/629 "2024-04-23T18:12:52Z")

</div>

Hi, I want to study suspended and bedload sediment transport in the Yucatan peninsula. I am having some doubts to set up my realistic sediment transport case, using the USGS model. After looking at some example cases (e…

---

## [How can wind forcing be incorporated into the vortex test case?](https://forum.croco-ocean.org/t/how-can-wind-forcing-be-incorporated-into-the-vortex-test-case/480)

<div class="topic-metadata">

**Author:** [@cauezlazaneo](https://forum.croco-ocean.org/u/cauezlazaneo)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 4:04pm UTC](https://forum.croco-ocean.org/t/how-can-wind-forcing-be-incorporated-into-the-vortex-test-case/480 "2023-08-23T16:04:41Z")

</div>

in the ‘cppdefs’ file I have undefined NO\_FRCFILE among the options for the vortex test case, which now requires a forcing file that I created using the create\_forcing function from crocotools. However, this file is not …

---

## [License for GOT99](https://forum.croco-ocean.org/t/license-for-got99/343)

<div class="topic-metadata">

**Author:** [@Bertrand\_Delorme](https://forum.croco-ocean.org/u/Bertrand_Delorme)\
**Replies:** 0\
**Last updated:** [March 28, 2022, 7:11pm UTC](https://forum.croco-ocean.org/t/license-for-got99/343 "2022-03-28T19:11:19Z")

</div>

Hi everyone, Where can I find the license info for using the GOT99 dataset to build the tides? Thanks, Bertrand

---

## [Flather-type scheme for open boundary condition](https://forum.croco-ocean.org/t/flather-type-scheme-for-open-boundary-condition/447)

<div class="topic-metadata">

**Author:** [@Edee](https://forum.croco-ocean.org/u/Edee)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 10:19am UTC](https://forum.croco-ocean.org/t/flather-type-scheme-for-open-boundary-condition/447 "2023-04-26T10:19:23Z")

</div>

Hi! I am trying to define flather-tyoe scheme for barotropic mode, but I can’t find the specific definition for OBC\_M2FLATHER in cppdefs.h. My croco vision is v1.3. What should I do for this situation? Any suggestions…

---

## [SEG FAULT with XIOS and PSOURCE\_NCFILE](https://forum.croco-ocean.org/t/seg-fault-with-xios-and-psource-ncfile/442)

<div class="topic-metadata">

**Author:** [@XavierC](https://forum.croco-ocean.org/u/XavierC)\
**Replies:** 1\
**Last updated:** [March 29, 2023, 2:00pm UTC](https://forum.croco-ocean.org/t/seg-fault-with-xios-and-psource-ncfile/442 "2023-03-29T14:00:58Z")

</div>

Hello, i am using the croco from master branch. When activating Psource\_ncfile and XIOS i got a seg fault (in pre\_step3d\_tile\_ ) at time step 0 With only one or the other it works ! Any idea ? thanks !

---

## [How could I make a barotropic (2D) simulation?](https://forum.croco-ocean.org/t/how-could-i-make-a-barotropic-2d-simulation/416)

<div class="topic-metadata">

**Author:** [@TomasVP](https://forum.croco-ocean.org/u/TomasVP)\
**Replies:** 11\
**Last updated:** [February 7, 2023, 6:39pm UTC](https://forum.croco-ocean.org/t/how-could-i-make-a-barotropic-2d-simulation/416 "2023-02-07T18:39:43Z")

</div>

I have been trying to do a barotropic simulation, for this I have configured a cppdefs.h without fresh water sources (psource) and I have undefined solve3d. However, when I do the jobcomp I get errors, and finally the cr…

---

## [Vbar\_northward and ubar\_northward 2D in croco](https://forum.croco-ocean.org/t/vbar-northward-and-ubar-northward-2d-in-croco/428)

<div class="topic-metadata">

**Author:** [@sebaprincipi](https://forum.croco-ocean.org/u/sebaprincipi)\
**Replies:** 1\
**Last updated:** [January 13, 2023, 6:10pm UTC](https://forum.croco-ocean.org/t/vbar-northward-and-ubar-northward-2d-in-croco/428 "2023-01-13T18:10:29Z")

</div>

Hi! i’m new to the croco model and so far I’ve had great success! I have a question regarding one of my model’s output, though. I want to make a velocity vector plot in qgis with the u and v components , and for this I …

---

## [Interannual with ERA5 fails due to missing croco\_frc.nc](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411)

<div class="topic-metadata">

**Author:** [@Konstantinos\_K](https://forum.croco-ocean.org/u/Konstantinos_K)\
**Replies:** 3\
**Last updated:** [November 10, 2022, 1:48pm UTC](https://forum.croco-ocean.org/t/interannual-with-era5-fails-due-to-missing-croco-frc-nc/411 "2022-11-10T13:48:30Z")

</div>

Hi, I am trying to run an interannual simulation with ERA5 atmospheric data. When I am trying to use the bulk formula by specifying: “makefrc = 0” and “makeblk = 1” in the crocotools\_param.m all the “croco\_blk\_ERA5\_\*.n…

---

## [Question about 'bulk flux' surface forcing file](https://forum.croco-ocean.org/t/question-about-bulk-flux-surface-forcing-file/401)

<div class="topic-metadata">

**Author:** [@xupeng66](https://forum.croco-ocean.org/u/xupeng66)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 5:47am UTC](https://forum.croco-ocean.org/t/question-about-bulk-flux-surface-forcing-file/401 "2022-10-05T05:47:04Z")

</div>

Hello CROCO users, I am trying to set up a simulation for which the surface forcing is specified using bulk formulas. I noticed that the Matlab script used to create the bulk forcing file ‘create\_bulk.m’ defines both wi…

---

## [Box model for handling of flows in course, km-scale models](https://forum.croco-ocean.org/t/box-model-for-handling-of-flows-in-course-km-scale-models/387)

<div class="topic-metadata">

**Author:** [@jvmcgovern](https://forum.croco-ocean.org/u/jvmcgovern)\
**Replies:** 8\
**Last updated:** [September 5, 2022, 2:21pm UTC](https://forum.croco-ocean.org/t/box-model-for-handling-of-flows-in-course-km-scale-models/387 "2022-09-05T14:21:46Z")

</div>

Hi All, This is a very high-level question, but I’m wondering specifically whether anyone has coded offline, or in the gitlab environment, the addition of some sort of box-model capability for handling freshwater inputs…

---

## [Hello! Everything, I found the following error when doing make\_clim and I have not been able to solve it. Can someone help please? Thank you very much in advance, Regards](https://forum.croco-ocean.org/t/hello-everything-i-found-the-following-error-when-doing-make-clim-and-i-have-not-been-able-to-solve-it-can-someone-help-please-thank-you-very-much-in-advance-regards/380)

<div class="topic-metadata">

**Author:** [@valentina.mun](https://forum.croco-ocean.org/u/valentina.mun)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 7:57pm UTC](https://forum.croco-ocean.org/t/hello-everything-i-found-the-following-error-when-doing-make-clim-and-i-have-not-been-able-to-solve-it-can-someone-help-please-thank-you-very-much-in-advance-regards/380 "2022-08-17T19:57:08Z")

</div>

Read in the grid… Create the climatology file… Creating the file : /data2/matlab/CROCOv1p2p1/croco-v1.2.1/Magallanes/CROCO\_FILES/croco\_clm.nc VTRANSFORM = 2 nc = NetCDF\_File: '/data2/matlab/CROCOv1p2p1/croco-v…

---

## [positive definite tracer advection schemes](https://forum.croco-ocean.org/t/positive-definite-tracer-advection-schemes/360)

<div class="topic-metadata">

**Author:** [@xupeng66](https://forum.croco-ocean.org/u/xupeng66)\
**Replies:** 7\
**Last updated:** [June 6, 2022, 2:45pm UTC](https://forum.croco-ocean.org/t/positive-definite-tracer-advection-schemes/360 "2022-06-06T14:45:13Z")

</div>

Hello CROCO users, I have a question about the advection schemes for tracers (e.g., temperature, salinity, passive tracer). In my simulation of a buoyancy-driven plume rising from a bottom heat source, I found that the …

---

## [How can I use the same waves in Test Cases?](https://forum.croco-ocean.org/t/how-can-i-use-the-same-waves-in-test-cases/366)

<div class="topic-metadata">

**Author:** [@JoseMOssa](https://forum.croco-ocean.org/u/JoseMOssa)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 6:08am UTC](https://forum.croco-ocean.org/t/how-can-i-use-the-same-waves-in-test-cases/366 "2022-06-02T06:08:37Z")

</div>

Hi! In the Swash Test Case I want to use exactly the same Jonswap waves as boundary, but the file “wave\_maker.h” only generate randomly these waves of a spectrum, but I need the same series of free surface in the boundar…

---

## [Surface temperature too high](https://forum.croco-ocean.org/t/surface-temperature-too-high/352)

<div class="topic-metadata">

**Author:** [@nmichelet](https://forum.croco-ocean.org/u/nmichelet)\
**Replies:** 4\
**Last updated:** [May 20, 2022, 2:56pm UTC](https://forum.croco-ocean.org/t/surface-temperature-too-high/352 "2022-05-20T14:56:51Z")

</div>

Hi everyone, I am currently working on a configuration on the Gulf of Lion and I an stuck because my results show a surface temperature too high compare to buoy data or Mercator. I initialize to model with MERCATOR dat…

---

## [Overheating at surface and through water column](https://forum.croco-ocean.org/t/overheating-at-surface-and-through-water-column/340)

<div class="topic-metadata">

**Author:** [@jvmcgovern](https://forum.croco-ocean.org/u/jvmcgovern)\
**Replies:** 6\
**Last updated:** [April 13, 2022, 9:39am UTC](https://forum.croco-ocean.org/t/overheating-at-surface-and-through-water-column/340 "2022-04-13T09:39:18Z")

</div>

Hi there, I have set up a 1km scale model and am having difficulty with overheating in the surface layer and throughout the water column. This heating up occurs within the first day and remains. I am using bulk fluxes. …

---

## [Bottom friction](https://forum.croco-ocean.org/t/bottom-friction/339)

<div class="topic-metadata">

**Author:** [@nicoaubone](https://forum.croco-ocean.org/u/nicoaubone)\
**Replies:** 1\
**Last updated:** [March 15, 2022, 7:10am UTC](https://forum.croco-ocean.org/t/bottom-friction/339 "2022-03-15T07:10:23Z")

</div>

Hi, I have some doubts when setting the bottom stress parameters in croco.in. If you run in 3D (SOLVE3D) and choose a logarothmic bottom friction (zob in croco.in) the modell computes 3d velocities using that friction …

---

## [PATM: specification and references](https://forum.croco-ocean.org/t/patm-specification-and-references/323)

<div class="topic-metadata">

**Author:** [@Aviv](https://forum.croco-ocean.org/u/Aviv)\
**Replies:** 1\
**Last updated:** [January 25, 2022, 10:22pm UTC](https://forum.croco-ocean.org/t/patm-specification-and-references/323 "2022-01-25T22:22:25Z")

</div>

Hello I am setting up to specify atmospheric pressure distribution for my regional croco configuration. I am using BULK\_FLUX, and have now also specified “define READ\_PATM” and “define OBC\_PATM” in my cppdefs. For refe…

---

## [Does anyone implemented sea-ice and iceshelf module in CROCO?](https://forum.croco-ocean.org/t/does-anyone-implemented-sea-ice-and-iceshelf-module-in-croco/325)

<div class="topic-metadata">

**Author:** [@lushilima](https://forum.croco-ocean.org/u/lushilima)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 11:51am UTC](https://forum.croco-ocean.org/t/does-anyone-implemented-sea-ice-and-iceshelf-module-in-croco/325 "2022-01-20T11:51:41Z")

</div>

Hello, has anyone implemented the sea-ice and ice-shelf module in CROCO, or are working on this? Thanks in advance

---

## [A question regarding cpp option: ONLINE](https://forum.croco-ocean.org/t/a-question-regarding-cpp-option-online/315)

<div class="topic-metadata">

**Author:** [@DJ1](https://forum.croco-ocean.org/u/DJ1)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 5:06pm UTC](https://forum.croco-ocean.org/t/a-question-regarding-cpp-option-online/315 "2021-10-26T17:06:04Z")

</div>

Hi, The CROCO manual says that with the cpp option, ONLINE, CROCO will interpolate forcing files to CROCO grids online. I assume this is the same function as the Rutgers’ ROMS saving storage as CROCO does not need the f…

---

## [prevent negative values for passive tracer concentration](https://forum.croco-ocean.org/t/prevent-negative-values-for-passive-tracer-concentration/312)

<div class="topic-metadata">

**Author:** [@Bertrand\_Delorme](https://forum.croco-ocean.org/u/Bertrand_Delorme)\
**Replies:** 8\
**Last updated:** [October 21, 2021, 3:41pm UTC](https://forum.croco-ocean.org/t/prevent-negative-values-for-passive-tracer-concentration/312 "2021-10-21T15:41:08Z")

</div>

Hi, I am running a simulation where I have a passive tracer with a non-zero concentration in a small portion of the domain and a zero concentration everywhere else. I would like to prevent negative values for the passiv…

---

## [need information about the prsgrd.F pressure gradient routine](https://forum.croco-ocean.org/t/need-information-about-the-prsgrd-f-pressure-gradient-routine/304)

<div class="topic-metadata">

**Author:** [@sonaljit](https://forum.croco-ocean.org/u/sonaljit)\
**Replies:** 0\
**Last updated:** [August 17, 2021, 2:46pm UTC](https://forum.croco-ocean.org/t/need-information-about-the-prsgrd-f-pressure-gradient-routine/304 "2021-08-17T14:46:04Z")

</div>

Hi all. I have a specific question about the prsgrd.F routine in the CROCO code that computes the pressure gradients. From line numbers 195 to 213, they are calculating the variable P(i,j,k). I wanted to know if P is t…

---

## [Online 3D tidal harmonic analysis in croco](https://forum.croco-ocean.org/t/online-3d-tidal-harmonic-analysis-in-croco/300)

<div class="topic-metadata">

**Author:** [@dwygngrh](https://forum.croco-ocean.org/u/dwygngrh)\
**Replies:** 0\
**Last updated:** [July 5, 2021, 9:00am UTC](https://forum.croco-ocean.org/t/online-3d-tidal-harmonic-analysis-in-croco/300 "2021-07-05T09:00:12Z")

</div>

Hi all, Does anyone know how to add online 3D tidal harmonic analysis in CROCO ? Thank you

---

## [Idealized simulation keeps blowing up](https://forum.croco-ocean.org/t/idealized-simulation-keeps-blowing-up/278)

<div class="topic-metadata">

**Author:** [@DJ1](https://forum.croco-ocean.org/u/DJ1)\
**Replies:** 4\
**Last updated:** [March 16, 2021, 4:14pm UTC](https://forum.croco-ocean.org/t/idealized-simulation-keeps-blowing-up/278 "2021-03-16T16:14:39Z")

</div>

Dear all, I am having trouble running my idealized simulation with CROCO v1.1 as it keeps blowing up having large values of ssh (10+ m), u, v (10+ m/s)). I would like some input from you. Just to be clear, I have been u…

---

## [General Question about Mixing Parameterization](https://forum.croco-ocean.org/t/general-question-about-mixing-parameterization/266)

<div class="topic-metadata">

**Author:** [@xupeng66](https://forum.croco-ocean.org/u/xupeng66)\
**Replies:** 4\
**Last updated:** [February 5, 2021, 8:50pm UTC](https://forum.croco-ocean.org/t/general-question-about-mixing-parameterization/266 "2021-02-05T20:50:15Z")

</div>

Hello, I have just started using CROCO and have a few general questions regarding mixing parameterization. When the GLS sub-grid turbulence model is used (e.g., define GLS\_MIXING), do the variables Akv\_Bak and Akt\_Bak i…

[Next page](https://forum.croco-ocean.org/tag/physics-params/17.md?match_all_tags=true&page=1&tags%5B%5D=physics-params)
