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

Precomputed solution parameters are not in a sub-section #268

Open
1 task done
ktbolt opened this issue Sep 9, 2024 · 7 comments
Open
1 task done

Precomputed solution parameters are not in a sub-section #268

ktbolt opened this issue Sep 9, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@ktbolt
Copy link
Collaborator

ktbolt commented Sep 9, 2024

Description

There are several parameters specifying data for a precomputed solution

 <Use_precomputed_solution> true </Use_precomputed_solution>
 <Precomputed_solution_file_path> precomputed_velocity.vtu </Precomputed_solution_file_path>
 <Precomputed_solution_field_name> Velocity </Precomputed_solution_field_name>

These parameters should be in a sub-section, something like

<Precomputed_solution>
  <Results_file> precomputed_velocity.vtu  </Results_file>
  <Field_name> Velocity </Field_name>
</Precomputed_solution>

Reproduction

See https://github.com/SimVascular/svFSIplus/blob/main/tests/cases/fluid/precomputed_dye_AD/svFSIplus.xml.

Expected behavior

I would expect a Precomputed_solution sub-section to be added.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@ktbolt ktbolt added the bug Something isn't working label Sep 9, 2024
@lpapamanolis
Copy link

The DoD staff has looked into this over the last few weeks: @zasexton do you think that the precomputed parameters should remain under the general simulation parameters, or it would best fitted under the mesh parameters or the equation parameters?

@ktbolt
Copy link
Collaborator Author

ktbolt commented Sep 27, 2024

@lpapamanolis What is DoD staff ? Department of Defense ?

@lpapamanolis
Copy link

@ktbolt Department of Debugging

@ktbolt
Copy link
Collaborator Author

ktbolt commented Sep 28, 2024

@lpapamanolis It is good to have understandable comments, no cute acronyms please.

@lpapamanolis
Copy link

@ktbolt Thanks for the feedback, noted.

@zasexton
Copy link
Contributor

zasexton commented Oct 8, 2024

@ktbolt @lpapamanolis yes, I will look into fixing/improving the format of the precomputed_solution section. In general would we still like to have this section be in the general simulation parameter section? I had some original uncertainty about this but this is how it was originally coded within a branch of svFSI so i decided to maintain the location.

@zasexton zasexton self-assigned this Oct 8, 2024
@ktbolt
Copy link
Collaborator Author

ktbolt commented Oct 8, 2024

@zasexton The other parameters used to initialize simulation state are under the Add_mesh section.

Note that there are already Initial velocities file path and Initial pressures file path parameters defined under the Add_mesh section, and a Simulation initialization file path parameter under the GeneralSimulationParameters section.

And now there is going to be a Precomputed_solution parameter.

This is all a bit confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants