-
Notifications
You must be signed in to change notification settings - Fork 87
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
Implementing k-eps and k-omega RANS models #1001
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
How is this looking for everyone? I know it's a big one but I've got two more of these kind of PRs sitting in the wing... I tried to break all the work we did into smaller chunks but smaller doesn't mean small ;) |
I'm about halfway through it. I'll try to finish in the next day or so. |
Thanks, @psakievich, for taking the time to look at this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looking good, but I'm running out of steam on this first pass. I made it up to the Wilcox files. I'll post what I've seen so far so you can make a few changes.
Main requests are to clean up the few raw pointer instances, and double check that this works on device. I've noted a few syncs that looked like they were missing.
meta.aura_part()) & | ||
stk::mesh::selectField(*tdr_); | ||
nalu_ngp::field_copy(ngpMesh, sel, tdrNp1, tdrN); | ||
tdrNp1.modify_on_device(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI the modify_on_device
flag is set inside field_copy
so this is unnecessary. It is a null op though so it doesn't matter. Might be worth adding a sync call on tdrN
though. @alanw0 is there a reason we don't do a sync on the src field inside copy_field
too?
Thanks for taking the time! Great catches, all. I really like the enum class idea and might actually do a separate PR for that. I will take care of your requested changes. |
I am not sure why the unittest failed on the latest commit? Looking into that now. |
41c498d
to
e1084bf
Compare
For reasons I don't understand yet, the
I am wondering if there's some kind of conflict between, e.g.
and in
|
Hmm I'm not immediately seeing why this is failing. It seems like all the |
Ok I will drop for now. Thanks for looking at this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry it took me so long to get back to the review. Thanks for making the changes and going on a unique_ptr
adventure with me. I looked at it closer and it will take a bigger (but easy) refactor to make those unique_ptr
's. I will do that in a separate PR soon.
0c67f36
to
dfcb5a4
Compare
Co-authored-by: Jeremy Melvin [email protected]