Closed nanoR4K closed 2 years ago
Hi Lucas,
Field
to the boundaryModel name (as you did already)dsmcInitialise+
fixedValue
for the patch in question, \<nonuniform> and paste your list.Please let me know if it works and if you managed to have non-uniform inlet number densities as well (I didn't check the source code). Thanks, Vincent
PS: once it's fixed, I'll improve the website
Good night vincent !
It worked beautifully. All 3 parameters are working as intended (temperature, Ndensity, and velocity).
The temperature was the only "odd" one seeing that the first two temperature vector entries on the wall sum together:
obstacle { type calculated; value uniform (300 300 300); }
This results in a wall temperature of ~600K. Instead of equal temperatures for all entries (rotational, translational, vibrational). Besides that, the only other lesser issue was the symmetry patch condition not working as intended, but that was circumvented with the removal of those boundaries.
I will be including some templates on this thread, so others can use them in case of similar issues.
https://github.com/nanoR4K/dsmcFreeStreamInflowFieldPatch-templates
Thank you very much !
nanoR4K
Good morning Vincent, I'm performing a validation experiment for a paper on dsmcFoam+ one of the simulation requirements is a non-uniform, vector list (U, T, numerical density) reading the source code I came across this boundary condition:
unfortunately, i wasn't able to run this condition with my code:
the main errors are the following:
[0] cannot find file [0] [0] file: /home/nanor4k/openfoam/hyStrath/run/hyStrath/dsmcFoam+/supersonicFlatPlate2/processor0/0/boundaryT at line 0. [0] [0] From function regIOobject::readStream() [0] in file db/regIOobject/regIOobjectRead.C at line 237.
or
--> FOAM FATAL IO ERROR: [5] attempt to read beyond EOF
I'm pretty sure this is some misunderstanding with the working and structure of this particular condition, How can I properly set up these boundary conditions with my vector data?best regards nanoR4K.