Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ccd=0 #12

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

add ccd=0 #12

wants to merge 9 commits into from

Conversation

zywshoon
Copy link
Collaborator

add ccd =0 will cause the coagulation slightly different than before.

these are the tests didn't pass regression test because they all have coagulation processes on. Let me know how you want me to process.

** Starting FRACTALMICROTEST.exe at Wed Aug 14 14:51:45 MDT 2024 **
Fractal Test
Done
** Finished at Wed Aug 14 14:51:55 MDT 2024 **

  carma_fractalmicrotest.txt differs from benchmark file ../../tests/bench/carma_fractalmicrotest.txt      

** Starting SULFATETEST.exe at Wed Aug 14 14:52:02 MDT 2024 **
Sulfate Test
** Finished at Wed Aug 14 14:52:02 MDT 2024 **

  carma_sulfatetest.txt differs from benchmark file ../../tests/bench/carma_sulfatetest.txt 

** Starting SULFATE_VEHKAMAKI_TEST.exe at Wed Aug 14 14:52:02 MDT 2024 **
Sulfate Test
** Finished at Wed Aug 14 14:52:02 MDT 2024 **

  carma_sulfate_vehkamaki_test.txt differs from benchmark file ../../tests/bench/carma_sulfate_vehkamaki_test.txt   

** Starting SULFHETTEST.exe at Wed Aug 14 14:52:02 MDT 2024 **
Sulfate Heterogeneous Test
** Finished at Wed Aug 14 14:52:02 MDT 2024 **

  carma_sulfhettest.txt differs from benchmark file ../../tests/bench/carma_sulfhettest.txt      

** Starting SULFHET_VEHKAMAKI_TEST.exe at Wed Aug 14 14:52:02 MDT 2024 **
Sulfate Heterogeneous Test
** Finished at Wed Aug 14 14:52:02 MDT 2024 **

  carma_sulfhet_vehkamaki_test.txt differs from benchmark file ../../tests/bench/carma_sulfhet_vehkamaki_test.txt    

setupckern.F90 Outdated Show resolved Hide resolved
setupckern.F90 Outdated Show resolved Hide resolved
@zywshoon
Copy link
Collaborator Author

I changed the tab problem.

@zywshoon zywshoon requested a review from fvitt August 16, 2024 17:41
Copy link
Collaborator

@tilmes tilmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, Simone

@fvitt
Copy link
Collaborator

fvitt commented Aug 16, 2024

If this changes results then the baselines stored in the stand-alone carma repo will need updated.

Copy link
Collaborator

@cbardeen cbardeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure this change gives you the right granularity for turning it on and off. If you had a mixed cloud and aerosol model, wouldn't you want to include this in the cloud-aerosol interactions, but not in the aerosol-aerosol or cloud-cloud interactions. This flag always has them either on or off for all groups (particle types). Perhaps it should be a flag on AddCoagulation() so that it can be kept per coagulation interaction. Perhaps something similar to use_vw(group1, group2). For example, if (use_ccd(j1,j2))then ...

@zywshoon
Copy link
Collaborator Author

zywshoon commented Sep 4, 2024

I am not sure this change gives you the right granularity for turning it on and off. If you had a mixed cloud and aerosol model, wouldn't you want to include this in the cloud-aerosol interactions, but not in the aerosol-aerosol or cloud-cloud interactions. This flag always has them either on or off for all groups (particle types). Perhaps it should be a flag on AddCoagulation() so that it can be kept per coagulation interaction. Perhaps something similar to use_vw(group1, group2). For example, if (use_ccd(j1,j2))then ...

should I define it as cstate%f_ variable or carma%f_ variable?

@cbardeen
Copy link
Collaborator

cbardeen commented Sep 5, 2024 via email

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a paper we can reference here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found any

@tilmes tilmes self-requested a review September 26, 2024 20:52
Copy link
Collaborator

@cbardeen cbardeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem correct for use_ccd to be dimensioned(NGROUP, NGROUP) and be part of the element data. Element data should be dimensions NELEMENT by something. If this is really decided at the group level, then it should be part of the group section above. If it is part of the element, then it should have NELEMENT dimensions. I assume you should just move it up to the group section.

@zywshoon zywshoon requested a review from cbardeen October 3, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants