Extracting cell centre values WITHOUT interpolation
1 Attachment(s)
I would like to extract cell centre values without using any interpolation schemes. My sampleDict file is as follows:
PHP Code:
PHP Code:
PHP Code:
Using nPoints 50; gives me the following temperature plot. As you can see, towards the end of the domain the sample points from my solution are more noticeably clustered in pairs. |
1 Attachment(s)
I believe I have solved my problem. Here is the sampleDict with modifications:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
type midPoint; I still have the issue of 'clustered' pairs of temperature points and am not sure what is causing that, though they now much more closely match the theoretical predication. Is this something I should even be looking into? Plots for Pressure, Density, and Mach number do not have this issue (or if they do it much, much less obvious). |
All times are GMT -4. The time now is 19:57. |