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

KPP with Langmuir turbulence in MOM6

ma1983

Libin Ma
New Member
I want to run MOM6 with KPP paramter settings. When I added "#override USE_KPP_LT_K = True" in the "MOM_override" file, it reminds that "WARNING from PE 0: Unused line in MOM_override : #override USE_KPP_LT_K = True", which doesn't override associated parameter settings. How can I fix this problem?
 

marshallward

Marshall Ward
Member
Only two ideas come to mind:
* Perhaps `#override` is unnecessary if it is not being overridden.
* Could you be in adiabatic mode?

If you can attach your `MOM_parameter_doc.all` file, then that might help diagnose the problem.
 

altuntas

Alper Altuntas
Moderator
Staff member
If you are running MOM6 within CESM, please include the required details, as well as the specific MOM6 version you are using. The full list of requested information is displayed when you start a new thread. Additionally, attaching your MOM_parameter_doc.all file will help us better understand the issue as @marshallward suggests.
 

ma1983

Libin Ma
New Member
Only two ideas come to mind:
* Perhaps `#override` is unnecessary if it is not being overridden.
* Could you be in adiabatic mode?

If you can attach your `MOM_parameter_doc.all` file, then that might help diagnose the problem.
Dear Marshall,

Thank you very much for help. I have attached the "MOM_input" and "MOM_parameter_doc.all" files here.

Best,
Libin
 

ma1983

Libin Ma
New Member
If you are running MOM6 within CESM, please include the required details, as well as the specific MOM6 version you are using. The full list of requested information is displayed when you start a new thread. Additionally, attaching your MOM_parameter_doc.all file will help us better understand the issue as @marshallward suggests.
Dear Alper,

Thank you very much for your help.

I run the MOM6 model alone, which is downloaded from the MOM github repository. I also attached the "MOM_input" and "MOM_parameter_doc.all" files here.

Best,
Libin
 

marshallward

Marshall Ward
Member
Are the files here? I can't see them. I may just not understand how to use this forum.

If you wan to email them to me (my.name at noaa.gov) then I can also take a look.
 

ma1983

Libin Ma
New Member
Are the files here? I can't see them. I may just not understand how to use this forum.

If you wan to email them to me (my.name at noaa.gov) then I can also take a look.
Dear Marshall,

Thank you very much. I have sent them to you through the email.

Best,
Libin
 

marshallward

Marshall Ward
Member
Thank you, I was able to get the files.

I think the problem is that KPP has not been turned on, so the parameter is unused. Your parameter also needs to be defined with a KPP parameter block.

You probably want something like this in MOM_override:

Code:
USE_KPP = True
KPP%
USE_KPP_LT_K = True
%KPP

(#override is not necessary since they were not set in MOM_input, but it does not seem to do any harm).

If I do this, then I see a new error:

Code:
FATAL: Get_Langmuir_number called without defining a WaveMethod. Suggest to make sure USE_LT is set/overridden to False or choose a wave method (or set USE_LA_LI2016 to use statistical waves).

If I also set USE_LA_LI2016 = True, then it runs. But I have no idea if this is a good choice for your experiment. You will need to talk with others about configuring the Langmuir turbulence.
 

ma1983

Libin Ma
New Member
Thank you, I was able to get the files.

I think the problem is that KPP has not been turned on, so the parameter is unused. Your parameter also needs to be defined with a KPP parameter block.

You probably want something like this in MOM_override:

Code:
USE_KPP = True
KPP%
USE_KPP_LT_K = True
%KPP

(#override is not necessary since they were not set in MOM_input, but it does not seem to do any harm).

If I do this, then I see a new error:

Code:
FATAL: Get_Langmuir_number called without defining a WaveMethod. Suggest to make sure USE_LT is set/overridden to False or choose a wave method (or set USE_LA_LI2016 to use statistical waves).

If I also set USE_LA_LI2016 = True, then it runs. But I have no idea if this is a good choice for your experiment. You will need to talk with others about configuring the Langmuir turbulence.
Dear Marshall,

Thank you very much. I'll take a test with these settings and a deep look at corresponding codes.

Best,
Libin
 
Top