Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Simulation run for a specific month ( like July) : cesm_1_2_2 _Cam5.3

rajkmsaini

Dr. Raj Saini
Member
Dear CESM users,

I'm a beginner in CESM_1_2_2-CAM5. I want to run a simulation for specific months like july (2001-017-01).


For a trial run, I have completed the situation for 12 months, now I have all files like i, h0, h1 & h2 . Now, I want to use "i" files (.nc) for as initial condition monthly files for a specific month run.

Lets say I have jun, july months initial condition files like ...

run_jan12months.cam.i.0001-06-01-00000.nc
run_jan12months.cam.i.0001-07-01-00000.nc

I have defined and called in to the run. I made change accordingly in CAM list through user _nl_cam like ...

ncdata = './path/run_jan12months.cam.i.0001-06-01-00000.nc''
( This file for jun)
ncdata = './path/run_jan12months.cam.i.0001-07-01-00000.nc''
( This file for july)

From these files, I have to take june initial condition file for July simulation . Or I should consider July months initial condition file. Please comment on this.

Now, I am coming to take your valuable suggestions from your side. Generally we do change through env_run.xml and user_nl_cam files.

I want your recommendations as following:

  1. Can anyone suggest where I have to modified in .xml. ?
  2. What variable need to be change in env_run.xml ?
  3. Where do I need to changs in case files ?

If anyone has related materials which tells about how to use and implement initial condition for a specific run. I request to share ( raj.km.saini@gmail.com).

Thank you in advance.
 

Attachments

  • user_nl_cam.txt
    802 bytes · Views: 5
  • env_run.txt
    21.8 KB · Views: 3

rajkmsaini

Dr. Raj Saini
Member
I resolved my problem.

Thank you for your responses cesm users. I can resolve my problem myself with a lot of reading and implementing things one by one but it takes more time because cesm new to me.
 

CESM researcher

HW doctor
New Member
I resolved my problem.

Thank you for your responses cesm users. I can resolve my problem myself with a lot of reading and implementing things one by one but it takes more time because cesm new to me.

Dr. Raj Saini

Hello,I also encountered a similar problem,I am running a case:A_WCYCL1850S_CMIP6.ne30_oECv3_ICG.,from 1960-2020year ,but Simulation stopped in 2012,I want restart 2010 start, "A_WCYCL1850S_CMIP6.ne30_oECv3_ICG.90.cam.i.2010-01-01-00000.nc" can you give me some advice,
 

rajkmsaini

Dr. Raj Saini
Member
Dr. Raj Saini

Hello,I also encountered a similar problem,I am running a case:A_WCYCL1850S_CMIP6.ne30_oECv3_ICG.,from 1960-2020year ,but Simulation stopped in 2012,I want restart 2010 start, "A_WCYCL1850S_CMIP6.ne30_oECv3_ICG.90.cam.i.2010-01-01-00000.nc" can you give me some advice,


Dear User,

I am not an expert yet and it's new to me. I am using this CESM for less than a month but I explore so many things. I do more experiments, read on the forum, and user guide. What I get more experiments gives more understanding in detail. Actually, I am a CFD expert and love to work with OpenFOAM.

Now, I come to your problem and have some suggestions.

In CESM, there are main three ways to change variables. I would recommend, you follow all change through user_nl_cam (I have explored CAM only so far.)

Step-1
add this into the file (user_nl_cam).

ncdata='pathe of your file/input-file.nc'

you can find the input file's path. $ you are here dir /input-file.nc
e.g. pwd gives "you are here dir"

Step-2
change dates in env_run.xml (Starting date (2010-01-01) and Reference date (2010-01-01) ). This date (2010-01-01) is that date where the simulation will start.

Save it.

Step-3
After making all necessary changes and build the case as per the standard procedure. like ./casename.build .

Best of luck.

Best
Raj
 

CESM researcher

HW doctor
New Member
Dear User,

I am not an expert yet and it's new to me. I am using this CESM for less than a month but I explore so many things. I do more experiments, read on the forum, and user guide. What I get more experiments gives more understanding in detail. Actually, I am a CFD expert and love to work with OpenFOAM.

Now, I come to your problem and have some suggestions.

In CESM, there are main three ways to change variables. I would recommend, you follow all change through user_nl_cam (I have explored CAM only so far.)

Step-1
add this into the file (user_nl_cam).

ncdata='pathe of your file/input-file.nc'

you can find the input file's path. $ you are here dir /input-file.nc
e.g. pwd gives "you are here dir"

Step-2
change dates in env_run.xml (Starting date (2010-01-01) and Reference date (2010-01-01) ). This date (2010-01-01) is that date where the simulation will start.

Save it.

Step-3
After making all necessary changes and build the case as per the standard procedure. like ./casename.build .

Best of luck.

Best
Raj
Dr. Raj Saini
Thank you very much for your detailed reply.Following the steps you said, the problem has been resolved. But now I have a problem about how to add polluting gas emissions. I designed two cases: (1) No surface emission data was added and simulated 2000 (Start year:2000;simulated:one year)(COMP:B20TR); (2)The case design is the same as the first one. All surface emission data 1990-2010 (COMP:B20TR) was added. However the simulation results for the two cases were completely complete consistent. This confuses me, please give me some pointers. My purpose is to see the difference between the simulation results of adding polluted gas emissions and not adding polluted gas emissions thanks in advance! If convenient, you can communicate via email: zhw_nnu@126.com from Nanjing Jiangsu China
 

Attachments

  • 1992-2010.txt
    4.2 KB · Views: 3
Top