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

Martin/first pass #1

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

Martin/first pass #1

wants to merge 10 commits into from

Conversation

mganahl
Copy link
Collaborator

@mganahl mganahl commented Jan 7, 2025

No description provided.

u[i] = tree_math.Vector(u_temp)
k[i] = explicit_terms(u[i])

u_star = u0 + dt * sum(b[j] * k[j] for j in range(num_steps) if b[j])-dP # this operation somehow resets the time stamp of the boundary condition, so we need to reset it
Copy link
Collaborator Author

@mganahl mganahl Jan 9, 2025

Choose a reason for hiding this comment

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

why is dP not multiplied by dt here?

@mganahl mganahl requested a review from hashimmg January 9, 2025 10:11
@mganahl
Copy link
Collaborator Author

mganahl commented Jan 9, 2025

Hi @hashimmg! This is a first pass of me through the code, making some minor modifications to test my understanding and shortening/cleaning pieces of the code base. Could you take a look at let me know if this introduced any major issues? You don't need to go through all the changes, the main ones are probably in time_stepping.py and IBM_Force.py.
Thanks!

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.

1 participant