-
Notifications
You must be signed in to change notification settings - Fork 845
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
[WIP] pywrapper - custom source terms for all solvers #2388
base: develop
Are you sure you want to change the base?
Conversation
unsigned long CDriver::GetNumberInnerIter() const { return config_container[selected_zone]->GetnInner_Iter(); } | ||
unsigned long CDriver::GetNumberOuterIter() const { return config_container[selected_zone]->GetnOuter_Iter(); } | ||
|
||
unsigned long CDriver::GetDensity_FreeStreamND() const { return config_container[selected_zone]->GetDensity_FreeStreamND(); } |
Check warning
Code scanning / CodeQL
Lossy function result cast Warning
unsigned long CDriver::GetNumberOuterIter() const { return config_container[selected_zone]->GetnOuter_Iter(); } | ||
|
||
unsigned long CDriver::GetDensity_FreeStreamND() const { return config_container[selected_zone]->GetDensity_FreeStreamND(); } | ||
unsigned long CDriver::GetForce_Ref() const { return config_container[selected_zone]->GetForce_Ref(); } |
Check warning
Code scanning / CodeQL
Lossy function result cast Warning
@@ -66,6 +72,11 @@ | |||
|
|||
string CDriver::GetSurfaceFileName() const { return config_container[selected_zone]->GetSurfCoeff_FileName(); } | |||
|
|||
unsigned long CDriver::GetSolution(unsigned short iSOLVER, unsigned long iPoint, unsigned short iVar) { | |||
auto solver = solver_container[iZone][INST_0][MESH_0][iSOLVER]; | |||
return solver->GetNodes()->GetSolution(iPoint,iVar); |
Check warning
Code scanning / CodeQL
Lossy function result cast Warning
… type in loop condition Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Proposed Changes
Introduce custom source terms for all solvers through the python wrapper.
current status:
First proof of concept, reproduces the laminar buoyancy driven cavity testcase
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --all
to format old commits.