HiFiLES / HiFiLES-solver

High Fidelity Large Eddy Simulation Solver
Other
172 stars 131 forks source link

Channel flow test case #35

Closed YakAllonsy closed 9 years ago

YakAllonsy commented 9 years ago

Hi,

I'm trying to run a channel flow test case using HiFiLES. It seems that HiFi has a built-in channel flow. I have several issues about that. First, I think there might be a typo in the perturbation equation (the position of the '-' sign, line 596, eles.cpp). And could you provide me with some references of the theoretical basis of this perturbation form? I believe it's adding perturbation by using the wall normal injection, but I've never seen this before. Second, I always got a NaN body force. Do you have any suggestions on that?

Thank you.

Yongkai

jrbull commented 9 years ago

Yongkai,

The support for the channel test case is limited and the body force calculation is bugged. I have been working on a branch that fixes the body force which will be pushed to the master soon.

As for the perturb_ic code: I think you mean that "exp(pow(-" should be "exp(-pow(“. Thanks for spotting that. The reference for the perturbation is Rossi “Direct numerical simulation of scalar transport using unstructured finite-volume schemes” (JCP, 2009) eq. 32. It is designed to be a spatially decaying disturbance centered at the channel center.

Regards, Jonathan

Postdoctoral Scholar Dept of Aero/Astro Engineering Stanford University

On Dec 18, 2014, at 7:24 AM, YakAllonsy notifications@github.com wrote:

Hi,

I'm trying to run a channel flow test case using HiFiLES. It seems that HiFi has a built-in channel flow. I have several issues about that. First, I think there might be a typo in the perturbation equation (the position of the '-' sign, line 596, eles.cpp). And could you provide me with some references of the theoretical basis of this perturbation form? I believe it's adding perturbation by using the wall normal injection, but I've never seen this before. Second, I always got a NaN body force. Do you have any suggestions on that?

Thank you.

Yongkai

— Reply to this email directly or view it on GitHub.

jrbull commented 9 years ago

Body force fix merged, perturbation bug fixed.

YakAllonsy commented 9 years ago

Thank you very much.

Yongkai