Skip to content
Snippets Groups Projects
Commit a967daeb authored by graham's avatar graham
Browse files

Change of plan - fields will be stored or referenced only at the solver level...

Change of plan - fields will be stored or referenced only at the solver level and tmps will be returned from the clouds to give them their instantaneous values.  Only T and U will be supplied to the dsmcCloud, as before, to provide boundary conditions. Added required field calculation functions.  Taking care about what is measured - a U field requires sum(momentum)/sum(mass) per cell - cells can have zero particles in them, hence divide by zero problems.  Averaging the momentum field and the rhoM field, and constructing the velocity by dividing the averages as a post-processing stage is a safer and more physcially correct method.
parent 65bb236e
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment