Search found 39 matches

by zhaolv
Tue Jun 13, 2023 8:40 am
Forum: ROMS Discussion
Topic: Model blows up before it starts
Replies: 1
Views: 2714

Model blows up before it starts

I'm using roms for a month of simulations. But the model crashes just as it starts to run and I would like to know why this is. logs prompts me with: Maximum grid stiffness ratios. rx0 = 9.648683E-01 (Beckmann and Haidvogel) rx1 = 8.844612E+00 (Haney) Where did this go wrong? Is my simulation area t...
by zhaolv
Fri Dec 09, 2022 2:11 pm
Forum: ROMS Discussion
Topic: About the CPP option for the WRF-ROMS-SWAN coupling model
Replies: 1
Views: 2573

About the CPP option for the WRF-ROMS-SWAN coupling model

Hi! I was recently able to run the WRF-ROMS-SWAN coupled model successfully using COAWST. Now I would like to consider the effects of some wave-current interactions. What should I do if I wish to add the effects of whitecapping (WEC_WCAP?) to the model? Do I turn on these switches at the same time? ...
by zhaolv
Sat Nov 19, 2022 2:27 pm
Forum: ROMS Tools and Techniques
Topic: How does ROMS stratification translate into water depth?
Replies: 1
Views: 3647

How does ROMS stratification translate into water depth?

In the roms 'his' file the seawater temperature, salinity etc. data is divided into 16 layers. I know that when the topography changes, the depth of seawater under the same layer is different. So I would like to know how to get the seawater temperature and salinity data for a point at a depth of 100...
by zhaolv
Fri Nov 18, 2022 12:26 pm
Forum: ROMS Discussion
Topic: How does ROMS stratification translate into water depth?
Replies: 0
Views: 1806

How does ROMS stratification translate into water depth?

I have set the initial boundary conditions of ROMS to N=16, so the seawater temperature, salinity etc. data in the his file is also divided into 16 layers. I know that the depth of seawater under the same water layer varies when the topography varies. So I would like to know how can I get the data a...
by zhaolv
Sun Sep 25, 2022 9:27 am
Forum: ROMS Discussion
Topic: Questions about the setting of the SST in WRF-ROMS coupling mode
Replies: 1
Views: 1146

Re: Questions about the setting of the SST in WRF-ROMS coupling mode

Here are the parameters I have set in wrf mode. I used the wrflowinp file generated by wrf for the start of wrf-roms mode. &time_control run_days = 0, run_hours = 96, run_minutes = 0, run_seconds = 0, start_year = 2018, 2018, start_month = 09, 09, start_day = 13, 13, start_hour = 00, 00, start_m...
by zhaolv
Sun Sep 25, 2022 9:22 am
Forum: ROMS Discussion
Topic: Questions about the setting of the SST in WRF-ROMS coupling mode
Replies: 1
Views: 1146

Questions about the setting of the SST in WRF-ROMS coupling mode

I have recently been using the wrf-roms coupling mode. When looking into to SST, it was found that the sea surface temperature obtained from the roms simulation does not basically change with time. That is, the sst does not produce a diurnal temperature difference. There is also little change in SST...
by zhaolv
Sun Aug 14, 2022 2:47 am
Forum: ROMS Discussion
Topic: On the accuracy of wrf-roms simulation paths
Replies: 0
Views: 1421

On the accuracy of wrf-roms simulation paths

I conducted simulations of typhoons near the South China Sea. I have also used wrf and wrf-roms models for comparison. However, I found that the path of the typhoon centre was more inaccurate in wrf-roms mode than in wrf mode. I would like to know how you have adjusted for similar situations. How ca...
by zhaolv
Thu Aug 04, 2022 3:09 am
Forum: ROMS Tools and Techniques
Topic: How to extract all sea surface height data along the lon, lat path
Replies: 3
Views: 4302

Re: How to extract all sea surface height data along the lon, lat path

Thank you very much for your guidance, it has helped me a lot
by zhaolv
Mon Aug 01, 2022 4:12 am
Forum: ROMS Tools and Techniques
Topic: How to extract all sea surface height data along the lon, lat path
Replies: 3
Views: 4302

How to extract all sea surface height data along the lon, lat path

I have recently been using the "roms_wilkin-master" toolkit. I would like to know how I should extract all the sea surface height data along the lon, lat paths.
So far I have found that the roms_genslice function can extract 4-D data along the path, but how should I get the zeta data?
by zhaolv
Sat Jul 23, 2022 1:47 am
Forum: ROMS Discussion
Topic: The roms simulates a 6 hour difference in tide levels.
Replies: 2
Views: 2309

Re: The roms simulates a 6 hour difference in tide levels.

looks like the simulation starts with zeta = -0.5 but the obs are at +0.5. so it will take a while for that barotropic mode to slosh out of the model. after 2 days the water levels look like they are starting to get into phase. if that storm at time 40 is your main interest, i suggest you start the...
by zhaolv
Fri Jul 22, 2022 2:08 am
Forum: ROMS Discussion
Topic: The roms simulates a 6 hour difference in tide levels.
Replies: 2
Views: 2309

The roms simulates a 6 hour difference in tide levels.

Hello! I am having a problem running the wrf, roms coupled mode. roms sea surface heights do not correspond to the measured tide level data. There is a difference of 6 hours between them and I would like to know why. How should I adjust it. The tide level file I am using is Create_roms_tides.m in co...
by zhaolv
Fri Jul 22, 2022 1:30 am
Forum: ROMS Discussion
Topic: Creating initial field, boundary field files from grid files
Replies: 3
Views: 4343

Re: Creating initial field, boundary field files from grid files

I'm sorry that I didn't explain myself clearly. I am using the method in coawst. Use the file "roms_master_climatology_coawst_mw.m". I have placed the file below.
Thank you for your guidance.
by zhaolv
Tue Jul 19, 2022 1:44 am
Forum: ROMS Discussion
Topic: Creating initial field, boundary field files from grid files
Replies: 3
Views: 4343

Re: Creating initial field, boundary field files from grid files

Does anyone know what the cause is, please?
by zhaolv
Sun Jul 17, 2022 4:11 am
Forum: ROMS Discussion
Topic: Creating initial field, boundary field files from grid files
Replies: 3
Views: 4343

Creating initial field, boundary field files from grid files

HI! I have a question now. Why some grid files have all zero data in clm and bdy files when creating initial and boundary files? Including u, v, temp, salt and other data. I am currently using the GridBuilder program to create the grid. However, I have found that the grid files generated using this ...
by zhaolv
Sat Jul 02, 2022 8:44 am
Forum: ROMS Discussion
Topic: The problem of creating initial boundary conditions
Replies: 1
Views: 2147

The problem of creating initial boundary conditions

I have been using coawst's program for the roms pre-processing process. The program used is the one in the tools file. But when I create the initial boundary file using the program Roms_master_climatology_coawst_mw, I find that the data set in the file is for GLBa. However I would like to use the mo...
by zhaolv
Fri Jun 10, 2022 6:22 am
Forum: ROMS Discussion
Topic: How to make a roms model driven only by tidal and wave forcing
Replies: 1
Views: 900

Re: How to make a roms model driven only by tidal and wave forcing

I don't know much about cpp options, but I tried turning off the BULK_FLUXES option and "define ANA_SMFLUX". I'm not sure if this is the right thing to do, but the result suggests that I need shflux data. The GFS data (including Uwind, Vwind, Pair, Tair, etc.) that I used when I "defi...
by zhaolv
Fri Jun 10, 2022 2:44 am
Forum: ROMS Discussion
Topic: How to make a roms model driven only by tidal and wave forcing
Replies: 1
Views: 900

How to make a roms model driven only by tidal and wave forcing

Hello, I have currently been able to successfully run the roms model as well as the wrf-roms-swan coupling model via coawst. However I find that I have to use a forcing file with wind fields in my roms model. How should I change my .h file if I want roms not to be driven by the wind field and only u...
by zhaolv
Mon Jun 06, 2022 5:10 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

I have good news. Based on the master mesh file generated from the matlab file you provided, I created the initial boundary file. Afterwards I applied it to the coupled model of WRF-ROMS and the model can now be run successfully and the results are more than satisfactory! I have placed the results a...
by zhaolv
Sun Jun 05, 2022 8:40 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

ok i spent some time on this. I think the issue is a bathy mismatch between the child and the parent, especially near the boundary. At the location of that vortex, the child grid has a bathymetric rise, but the parent grid did not see it. So i recommend that you use average child bathy to replace t...
by zhaolv
Wed Jun 01, 2022 1:36 pm
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

I looked at the grids and they seem ok. the bathy matches well. the dmde looks large in the parent grid. are you running with curvgrid on? also the parent has spherical ='T' and the child has spherical = 1. this is probably not an issue. how did you set the init conditions? are the T/S fields consi...
by zhaolv
Wed Jun 01, 2022 3:41 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

looks like the only differences for roms is along the southern boundary. with nesting, does the vortex start and grow, is it formed during the experiment at the boundary and advect in? does the child bathy match the parent? i assume this probably gets deep along that child southern boundary. -j Yes...
by zhaolv
Sun May 29, 2022 2:21 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

We recommended running without nesting, but still, you haven't reported that solution. Unfortunately, there is not much help that we can give you if the suggestions are not followed. I'm sorry I didn't take note of your suggestion before, but I recently re-ran the coupled model without nesting and ...
by zhaolv
Fri May 27, 2022 1:54 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

i am not worried about the free surface, if that is all dry anyway. do you have wet dry on? did you set hmin = 5 in both the parent and child? is this vortex created at the boundary and advected in? can you do me a favor, i made a change to my version of nesting.F, Are you using COAWST? if so pleas...
by zhaolv
Tue May 24, 2022 1:37 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

i am not worried about the free surface, if that is all dry anyway. do you have wet dry on? did you set hmin = 5 in both the parent and child? is this vortex created at the boundary and advected in? can you do me a favor, i made a change to my version of nesting.F, Are you using COAWST? if so pleas...
by zhaolv
Mon May 23, 2022 8:23 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

I think this person is using COAWST. And yes they should add SST to cover non-Roms areas, and they probably are. We have had this option since the beginning of the coupling. What we do is use the SST from the WRFlow file, and replace that with ROMS data wherever the ocean is. We do that for each ro...
by zhaolv
Thu May 19, 2022 6:49 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Re: Questions about wrf-roms coupling

This is my grid situation, I noticed that the area where the vortex appears is at the junction of the grid, should I change the grid area? Here are my temperature and salinity fields. Although there are some areas that are rather strange, I don't think they should be the cause of the vortex generati...
by zhaolv
Tue May 17, 2022 7:55 am
Forum: ROMS Discussion
Topic: Questions about wrf-roms coupling
Replies: 20
Views: 29404

Questions about wrf-roms coupling

I have recently been using wrf-roms coupling to simulate a typhoon in the South China Sea. However, according to the roms output, the flow field is showing strange vortices in the southern part of the simulation area, this simulation is from 2018-09-15 to 17, the flow field diagram is below, when I ...
by zhaolv
Wed Apr 27, 2022 8:46 am
Forum: ROMS Discussion
Topic: How do I solve the simulation speed anomaly?
Replies: 3
Views: 3221

Re: How do I solve the simulation speed anomaly?

what is the bathy in that corner? i see you have 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. 50.000 Tcline S-coordinate surface...
by zhaolv
Fri Apr 22, 2022 9:31 am
Forum: ROMS Discussion
Topic: How do I solve the simulation speed anomaly?
Replies: 3
Views: 3221

How do I solve the simulation speed anomaly?

I was running roms and found that the model crashed at the fourth hour and prompted me with excessive speed at a certain point, I checked the rst file and found that there was indeed an exception, how do I fix this? I have tried changing the model grid, the time step, but nothing has fixed the probl...
by zhaolv
Wed Apr 20, 2022 1:51 pm
Forum: ROMS Discussion
Topic: READ_PHYPAR - Invalid dimension parameter
Replies: 11
Views: 10461

Re: READ_PHYPAR - Invalid dimension parameter

How did you resolve the clm to 0? The data I extracted from GLBa0.08 is also 0
by zhaolv
Mon Apr 11, 2022 8:54 am
Forum: ROMS Bugs
Topic: Error to run roms_clm_roms_master_climatology_coawst_mw
Replies: 6
Views: 5620

Re: Error to run roms_clm_roms_master_climatology_coawst_mw

I also had this problem and could not extract the initial boundary field from HYCOM, how did you solve it?
by zhaolv
Wed Apr 06, 2022 2:55 am
Forum: ROMS Discussion
Topic: Couple WRF and ROMS:Could not find input parameter: NestLayers
Replies: 1
Views: 2022

Couple WRF and ROMS:Could not find input parameter: NestLayers

hello I am using COAWST to couple WRF and ROMS, I have been able to run WRF and ROMS separately, after that I edit the coupling.in, scrrip_coawst file. but when I run it, I am prompted with an error in the roms.in file, missing NestLayers. But actually my roms.in file already includes the NestLayers...
by zhaolv
Sat Apr 02, 2022 10:17 am
Forum: ROMS Installation
Topic: Error when installing SCRIP_COAWST
Replies: 1
Views: 2574

Error when installing SCRIP_COAWST

Dear all. I am trying to compile SCRIP_COAWST from the word document and I am using the gfortran compiler. But when I use make it doesn't create the .exe file, I don't know why, I did use netcdf4. Here is my out file Also, I used '--enable-netcdf-4' to see if ndtcdf4 was installed according to anoth...
by zhaolv
Fri Feb 11, 2022 8:37 am
Forum: ROMS Discussion
Topic: How to get older versions of coawst?
Replies: 0
Views: 1470

How to get older versions of coawst?

I'm currently using wrf and roms coupling in coawst, but when using a tool I need wrfv3.6 version and roms coupling. Please how can I get the old version of coawst.
by zhaolv
Sat Nov 20, 2021 7:34 am
Forum: ROMS Discussion
Topic: The model blows up in the first step
Replies: 4
Views: 5270

Re: The model blows up in the first step

kate wrote: Thu Nov 18, 2021 7:01 pm It is bad before taking the first timestep. I would look carefully at your initial conditions.
Thank you for your attention.

This is my bdy, clm and ini files, you can view them if you need them.
I have been studying this problem for a long time, please help me
by zhaolv
Fri Nov 19, 2021 1:35 pm
Forum: ROMS Discussion
Topic: The model blows up in the first step
Replies: 4
Views: 5270

Re: The model blows up in the first step

1. I see your nothern zeta,vbar and ubar value are 0. 2. Your rx0 value of the nesting model is too high. 3. It is not possible reason for blowing up, but I was wondering setting the boundary condition of the northern area as gradient for tracers? Also western is set as a gradient instead of close....
by zhaolv
Thu Nov 18, 2021 8:38 am
Forum: ROMS Discussion
Topic: The model blows up in the first step
Replies: 4
Views: 5270

The model blows up in the first step

I am using coawst to study recently, but I got an error when I tried to run the roms model alone. I think there should be no problem with my initial file data. Maybe my ocean.in file parameters are wrong? GET_3DFLD - salinity climatology, 2018-09-16 00:00:00.00 (Grid=02, Rec=2, Index=2, File: Mangkh...
by zhaolv
Sat Nov 13, 2021 5:37 am
Forum: ROMS Bugs
Topic: Model running error: REASON: KEchar = NaN, PEchar = NaN
Replies: 3
Views: 4347

Model running error: REASON: KEchar = NaN, PEchar = NaN

I am using coawst to study recently, but I got an error when I tried to run the roms model alone. I think there should be no problem with my initial file data. Maybe my ocean.in file parameters are wrong? GET_3DFLD - salinity climatology, 2018-09-16 00:00:00.00 (Grid=02, Rec=2, Index=2, File: Mangkh...
by zhaolv
Fri Nov 12, 2021 5:44 am
Forum: ROMS Problems
Topic: How to create a forcing file for roms
Replies: 0
Views: 1732

How to create a forcing file for roms

I just started to learn roms recently, but when I was studying, I found that I could not generate forcing files. I use the matlab toolkit in the coawst model, where the ncei_ 2roms.m file is used to create the forcing file. But I don't know why there are always errors. I found that the NAM address i...