|
[Sponsors] |
February 19, 2014, 15:09 |
non uniform initial conditions
|
#1 |
New Member
Join Date: Feb 2014
Posts: 12
Rep Power: 12 |
Hello all,
Simple (?) question: If I want to specify a nonuniform initial condition using the internalField nonuniform List<vector> approach, like in the boxTurb tutorial, do I specify my initial velocity at all the points listed in the "points" file and in that order? That is, if the first entry in points is (0,0,0) should the first entry in U be the velocity at (0,0,0)? This simulation has multiple blocks. I have seen the setFields as used in the dam break tutorial but am not currently savvy enough to use this to do what I want. The background is I am attempting to run a simulation in OpenFOAM starting with an initial condition generated by a fortran code on a mesh that is not the same as my OpenFOAM mesh. Any input is appreciated. -Jensen |
|
February 19, 2014, 15:49 |
|
#2 |
New Member
Join Date: Feb 2014
Posts: 12
Rep Power: 12 |
I think I answered a bit of my own question since the points file has (no_cells_x+1)*(no_cells_y+1)*(no_cells_z+1) entries whereas a nonuniform velocity entry should have only (no_cells_x)*(no_cells_y)*(no_cells_z) entries. Based on this I am guessing that velocity needs to be spec'd at cell centers.
|
|
February 19, 2014, 18:03 |
|
#3 | |
Member
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a problem with convergence in buoyantSimpleFoam | skuznet | OpenFOAM Running, Solving & CFD | 6 | November 15, 2017 13:12 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Velocity blows up suddenly after 30,000+ iterations | lordvon | OpenFOAM Running, Solving & CFD | 15 | October 19, 2015 14:52 |
Extremely slow simulation with interDyMFoam | jrrygg | OpenFOAM Running, Solving & CFD | 9 | April 23, 2013 11:14 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |