Computational Aerodynamics Questions & Answers  
Question by Student 201327133
Professor, i have a question about ximax. You showed us that ximax being similar as zero when state is steady. I run the code about Question #3, and i've got the result about time,iter,etc... but there is no more less than 1.0E+3 at ximax. but i can't believe that it could be zero... is it correct result? or are there more exact solution?
05.29.18
As I explained today, ximax probably won't go down to zero for your problems if you use the TVD Van Leer limiter or WENO. The residual will thus “hang”. So, you can't rely on ximax to determine convergence. You need to proceed differently as explained in class.
Question by Student 201227111
Professor, I don't understand what the value from -opm command mean exactly. At first, I thought it was the average of values at x=x_station and y=(node1 to node 60). So, I extract data at i=2,10,20,30,40,50,60 and j=1 to 60 using "-pr" command. And averaging each value, And compare to value obtained from "-opm command" with varying x_station. (compare density, Temperature, velocity) When i is small, "-opm" value is similar to my average value. But the bigger the i, the bigger the difference. When i=60, "-opm command" value is similar to average value of i=60, j=1 to 20(only 1/3 nodes). So, I'm stuck here, I don't what to do after. Sorry about my poor explanation.
05.30.18
I need more information. Please show a plot of the pressure contours. Also, show your code in the Post() module. Further, how are you invoking warp with -opm? I hope you read in your data file... Otherwise, this will simply post-process the initial conditions..
Question by Student 201227111
Professor! I bring more explain about previous question. I wanted to know the meaning of Post() modules command to compute mass flux average stagnation pressure.
plot.png  ./download/file.php?id=4214&sid=ce6667d2300ed19162125dd37ccd0363  ./download/file.php?id=4214&t=1&sid=ce6667d2300ed19162125dd37ccd0363
I simply gridding like this.(ie=60, je=60, dx is constant) Result is like this.
And My post code is same as original, only changing x_station[1] set to L-1e-5 (L is length of inlet)) and for loop range set 1 to 1.
node60_value.PNG
And I use "warp -r design3.wrp -i data.1500 -op post60.1 -pt gnuplot -pr 60 1 60 60" this command, I get properties that x is fixed in one line and y is vary.(like above picture) And, use matlab code, I compute average of each properties($\rho$, $T$, $q$). Then, I compare this average value to value that obtained from "warp -r design3.wrp -i data.1500 -opm". (Because properties vary along y axis but using "warp -r design3.wrp -i data.1500 -opm" is give only one value)
opm_value.PNG
then my computed average value is $\rho=0.2774$, $T=467.5837$, $q=2403.5$, but value obtained by "-opm command" is $\rho=0.6730$, $T=789.1027$, $q=2297.65$.
I think value obtained by Post() module is average of value on fixed x line, but it isn't. It only work when i is very small(only 2 or 3..). So I want to understand about meaning of value that obtained by Post() module. or I think something wrong?
Everything seems fine except your matlab values. Are you doing a simple averaging using matlab? This will of course be wrong. You need to do a mass flux averaging (do $\frac{1}{\dot{m}}\int P d\dot{m}$ in matlab not $\frac{1}{H}\int P dy$).
Question by Student 201327103
professor this is my counter plot for cylinder.
9.png
I can't get shock wave. I Think my boundary condition is wrong, but i don't know where is wrong. here is my code
The problem may be that you are imposing free stream boundary conditions on all boundary nodes..? You should check your boundary conditions are well imposed using the -on flag.
Question by Student 201327103
Professor, i check the boundary node and it looks like good. but the result still has same problem
11.png
This looks fine: your boundary conditions are well imposed. The contours you showed previously seem to have not been iterated at all. After the iteration process, are you reading in the data file (obtained after 1000 iterations or so) before outputting the post file?
05.31.18
Question by Student 201327132
Dear professor, I have a question about order of accuracy P. Assuming P>1, We obtained $GCI_f$. If P<1, Should we change to$\left\vert\frac{\triangle x_c}{\triangle x_f }-1\right\vert$? I obtained P that is smaller than 1 and minus value. Did I do it wrong way? Thank you.
06.11.18
Very good question. We made this assumption only when deriving the GCI. So, within the $\rm GCI_{f}$ equation, you should change the term to $\left\vert\left(\frac{\triangle x_c}{\triangle x_f }\right)^p-1\right\vert$. That is, the GCI should always be positive. However, when determining order of accuracy $p$, we did not use the GCI and we did not assume that $p$ should be greater than 1. So you should not change any of the equations used to determine $p$.
Previous   1  ...  11 ,  12 ,  13 ,  14    Next  •  PDF 1✕1 2✕1 2✕2  •  New Question
$\pi$