-
Notifications
You must be signed in to change notification settings - Fork 20
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
Using AccelerateCFD_CE with pitzDaily tutorial case #14
Comments
Hi Yoorthiziri, Your ROM velocity field (Urom) looks correct, does it change over time? The velocity field (U) in the first picture, however, looks more like a mean velocity field than a snapshot of a transient simulation, if you view different timesteps in paraview is the field changing? The fields in "sampleCase/0" were taken from a case with fully developed flow, so you should see transient behavior immediately in both the FOM and ROM, such as vortices being advected downstream. Also did you use the pimpleFoam or pisoFoam solver? Try using the pisoFoam to compute the FOM, if you haven't already. BTW, FOM = full order model or "ground truth" we use to construct the reduced order model, it's the solution you get from the base OpenFOAM solver. |
Hi @s1291, I believe I know the problem. So, the POD-ROM method, in our implementation, is intended to work with transient fields. While pimpleFoam is a transient solver, the RAS turbulence model is not generally used for transient/unsteady cases (I believe). That's why your FOM converges to a steady-state, after the initial transient from having unrealistic initial conditions (i.e. a homogeneous velocity field) dies down. If you wanted to run the Pitz case with turbulence wall-modeling, you would need either a turbulent fluctuating inlet or a more complicated turbulence model, such as LES or URANS. However, these methods generally require a finer mesh. I suggest that for this simple test case, you should assume laminar flow. That should give you a transient FOM. The other issue is that to perform POD accurately you need a "statistically steady-state" (but still unsteady), meaning that the flow is fully developed and the flow is steady "on average". The easiest way to do this is to run the simulation for a couple flow cycles until the flow looks developed, and then use the latest timestep as the initial timestep in a new simulation. I can give you a case file with developed fields; I just ran the simulation for a bit to reach statistically-steady state, then copied the fields to the "0" directory. Otherwise, the case is basically the same as pitzDaily. There's an Allrun file to do the FOM and ROM; otherwise you can run the commands manually. Some quick caveats: this is a very simplified test case, so the results won't be perfect. Also, the turbulent fields are very stochastic, so you should only expect to reproduce statistically similar results. However, if you view U and Urom in paraview, you should see similar flow structures: namely, vortices being generated at the backwards-step and advecting downstream. Hope this helps! |
Please let me know if this solved the issue for you |
after podROM in avals.csv file I am getting a negative value and at final fatal error will come |
getting negative value after podROM |
anyone??? |
in case sigma meaning is snapshots ?? |
Hello,
Thank you very much for this library. I have successfuly installed it on Ububtu 20.04 and run the
SampleCase
tutorial as per the instructions given in theREADME.md
file.I am very new to POD method, I am trying learn about. I have tried to use this library with the pitzDaily case from OpenFOAM 7. However, the Urom field is significantly different from the U and Umean fields (I have used 10 modes which according to the plotPOD.py is sufficient).
Here is the snapshot of the U field at a t=0.3

And here is the snapshot of the Urom field at the same time (t=0.3):

I have attached below the case I used in this Analysis. Note that I have used several values for the dt term in the constant/podDict (1e-5, 1e-7, 1e-8) But there is no change.
I have followed exactly the same instructions in the README.md file of this library. In short:
I appreciate your feedback
The pitzDaily case: pitzDaily.zip
The text was updated successfully, but these errors were encountered: