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

Upwinding and cylinder case runs #26

Open
lawrenceccheung opened this issue Jan 5, 2021 · 0 comments
Open

Upwinding and cylinder case runs #26

lawrenceccheung opened this issue Jan 5, 2021 · 0 comments

Comments

@lawrenceccheung
Copy link
Collaborator

lawrenceccheung commented Jan 5, 2021

This issue is devoted to documenting the effect of upwinding parameters on the cylinder runs (also as a test of video uploads in github issues). Feel free to comment below and close the issue when discussion is complete.

Testing alpha_upw

For both the grid0 and grid1 case, the alpha_upw parameter was varied for the velocity component only, and values of 0, 0.25, 0.5, 0.667, and 1.0 were tried:

    - alpha_upw:
        velocity: 0.25
        turbulent_ke: 1.0
        specific_dissipation_rate: 1.0

The turbulent_ke and specific_dissipation_rate were always set to 1.0.

The results show that for alpha_upw>0, the Cd results are relatively consistent, while no upwinding with alpha_upw=0 leads to an outlier result.
For the grid0 case
image

For the grid1 case:
image

Flow artifacts near the cylinder were seen in the alpha_upw=0 case
Snapshot_cylinder_run03_iter140_closeup.png
image

which are not seen for alpha_upw=1
Snapshot_cylinder_run01_iter10_closeup.png
image

or for alpha_upw=0.25
Snapshot_cylinder_run04_iter140_closeup.png
image

The Cp distribution is also similar between alpha_upw=0.25 and 1.0:
plotCp
image

whereas the Cp distribution for alpha_upw=0.0 is obviously different:
plotCp
image

Testing upw_factor

A similar study was done on the upw_factor. The velocity component of upw_factor was set to 0 for alpha_upw values of 0, 0.25, 0.50, 0.667, and 1.0 for the grid0 case:

    - alpha_upw:
        velocity: 1.0
        turbulent_ke: 1.0
        specific_dissipation_rate: 1.0
    - upw_factor:
        velocity: 0.0
        turbulent_ke: 0.0
        specific_dissipation_rate: 0.0

and for grid1, upw_factor=0 was tested with alpha_upw=1.

The drag comparison with upw_factor=0 also shows a wide variation
plotForcesUPWFactordiff_grid0.ipynb
image

And is similar to the results for the grid1 case

The wake behind the cylinder is also dramatically different for upw_factor=0
Snapshot_cylinder_run07_iter140_closeup.png
image

with a corresponding mismatch in the Cp distribution:
image

The far-field behavior for the grid0 case with alpha_upw=0 and upw_factor=0 is also suspicious:
image

The unsteady wake behavior for upw_factor=0 is also much different compared to the upw_factor=1 case

cylgrid1new_sst_iddes_Re8p0M_run07_upwfactor0_closeup.mp4
cylgrid1new_sst_iddes_Re8p0M_run01_alphaupw1_closeup.mp4
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