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 elastic-tube-1d watchpoint plot #438

Merged

Conversation

fsimonis
Copy link
Member

@fsimonis fsimonis commented Jan 12, 2024

This PR is based on #434 and #435.
It adds a watchpoint at x=5 of the fluid solver as well as a plot of for pressure and diameter over all time steps.
Scripts run-all.sh and plot-all.sh generate this plot.

image

@fsimonis fsimonis marked this pull request as draft January 12, 2024 16:50
Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

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

Related to (or in the same context as) #426.

Still needs some rebasing, as it includes changes related to porting to v3.

elastic-tube-1d/run-all.sh Outdated Show resolved Hide resolved
elastic-tube-1d/plot-all.sh Outdated Show resolved Hide resolved
@fsimonis fsimonis force-pushed the add-elastic-tube-1d-watchpoint-plot branch from f6f89f5 to 08e9163 Compare February 19, 2024 11:22
@fsimonis fsimonis marked this pull request as ready for review February 19, 2024 11:22
@fsimonis
Copy link
Member Author

I removed the run-all script and changed plot-all.sh to plot the watchpoint of all fluid solvers.

This omits the solver participant from the plots, but should be practical enough to detect problems.

Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

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

Makes sense, but I have not tried if it works. Please also document the Solid participant used in the plot.

elastic-tube-1d/README.md Show resolved Hide resolved
@fsimonis
Copy link
Member Author

It's not possible to get the solid participant from the run files. So hard coding a name can easily become incorrect.

Not sure how to solve this.

@MakisH
Copy link
Member

MakisH commented Feb 19, 2024

It's not possible to get the solid participant from the run files. So hard coding a name can easily become incorrect.

Not sure how to solve this.

You checked in a plot, which you generated after running some combinations, right? I am only asking that you document which Solid participant you used, nothing more.

@fsimonis fsimonis merged commit fff2c4d into precice:develop Feb 21, 2024
3 checks passed
@fsimonis fsimonis deleted the add-elastic-tube-1d-watchpoint-plot branch February 21, 2024 12:38
@fsimonis
Copy link
Member Author

FYI the new image looks like this:

image

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.

2 participants