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

New methods in POD object #439

Merged

Conversation

giacomo-zuccarino-optimad
Copy link
Contributor

Several new methods for the POD class are introduced in this pull request.
The introduction of the methods has two main goals.
The first goal is to provide the user with funtionalities that were previously internal to the POD class and could not be called from the outside.
The first is reading data.dat files, the second is writing POD modes and POD Fields to VTK files.
Moreover, it is now possible to compute the POD without performing snapshot reconstruction at the end of the computation.
The user can define its own reconstruction workflow using the methods introduced in the pull request.
The second goal is to allow the user to perform some mathematical operations on the vector spaces generated by the POD modes.
The first is the projection of field onto the POD space, the second is the construction of a fields as linear combination of the modes with given input coefficients.
To concretely show the application and usefulness of the methods, we introduced two examples that calculate the POD on sets of airfoil simulations at different angles of attack.

@giacomo-zuccarino-optimad giacomo-zuccarino-optimad merged commit 5b131ed into optimad:master Apr 18, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants