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

Flow behaving strange #4

Open
AsimUdel opened this issue Jul 1, 2024 · 1 comment
Open

Flow behaving strange #4

AsimUdel opened this issue Jul 1, 2024 · 1 comment

Comments

@AsimUdel
Copy link

AsimUdel commented Jul 1, 2024

Hi @rybchuk ,
I hope you are doing great. I wanted to discuss a problem which I am facing. i think it is flow reversal.
https://github.com/rybchuk/amr-wind-tutorial/blob/main/03_turbines.md, here you explained that if the inflow is aligned in x direction purely, the "both the ylo and the yhi planes in the precursor simulation. Sometimes running with ylo isn't enough because a small amount of flow can enter the domain through yhi. This scenario can manifest as a simultion with a growing CFL error."
I have tried previously also saving the precursor files in yhi too, but right now I did not save in yhi. I am attaching some plots, can you confirm you were referencing to this behavior of flow at (x output).
I am attaching the input files too.
No_turbine_unstable.txt
precursor_unstable.txt
spinup_unstable.txt
Turbine_unstable.txt

Spinup:
Spinup_hub_height_xy_unstable
Precursor:
Precursor_XY_hub_height
Precusror_tke_xy

Turbine:
Turbine_tke_xy
Turbine_xy_plane

No turbine:

No_Turbine_xy_plane
No_Turbine_tke_xy

P.S, I have asked at lawrence's github issue board too, since you mention this issue in your tutorial I really wanted to get help from you also. Thank you
Asim

@AsimUdel
Copy link
Author

Hello @rybchuk ,
Could you please explain a bit about the settings of "mass_inflow" and what is its relevance with T(temperature), U (velocity) and P (pressure) ? and also below are the settings for my precursor and turbine run respectively,

Precursor:
"
geometry.is_periodic = 1 1 0
#xlo.type = mass_inflow
#xlo.density = 1.225
#xlo.temperature = 290.0
#xlo.tke = 0.0
#xhi.type = pressure_outflow

#ylo.type = mass_inflow
#ylo.density = 1.225
#ylo.temperature = 290.0
#ylo.tke = 0.0
#yhi.type = pressure_outflow
zlo.type = wall_model
zhi.type = slip_wall
zhi.temperature_type = fixed_gradient
zlo.temperature_type = zero_gradient
zhi.temperature = 0.003 "

Turbine:
"
geometry.is_periodic = 0 0 0
xlo.type = mass_inflow
xlo.density = 1.225
xhi.type = pressure_outflow
xlo.temperature_type = fixed_gradient
xlo.temperature = 0.0
xlo.tke = 0
xlo.pressure_type = buoyant_pressure
ylo.type = mass_inflow
ylo.density = 1.225
yhi.type = pressure_outflow
yhi.temperature_type = fixed_gradient
yhi.temperature = 0.0
ylo.temperature_type = fixed_gradient
ylo.temperature = 0.0
ylo.tke = 0
zlo.type = wall_model
zhi.type = slip_wall
zhi.temperature_type = fixed_gradient
zlo.temperature_type = zero_gradient
zhi.temperature = 0.003"

What option should I use if I want to use the boundary values of U, T, and TKE saved from the precursor run? are these settings best possible I could set? Thank you
Best
Asim

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

No branches or pull requests

1 participant