|
[Sponsors] |
Read boundary conditions from previously computed time steps or from file? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 14, 2013, 04:57 |
Read boundary conditions from previously computed time steps or from file?
|
#1 |
New Member
Join Date: Oct 2012
Posts: 17
Rep Power: 14 |
Hi everyone,
I am using a modified version of pimpleDymFoam in OF-1.6-ext. To explain the problem briefly, as an example, from 0 to 2 seconds, I wait for the flow condition to reach its steady state, later, for the next 10 seconds (from 2 - 12) I want to make sure that the program reads the boundary conditions at the inlet for the velocity and some other parameters from the folder created at the end of 2nd sec time step, where I assume that it has reached its steady state. How can I define my boundary conditions at the inlet to be read from a file or a folder which is previously computed? Thanks again in advance for your valuable comments and replies Best |
|
February 14, 2013, 06:34 |
|
#2 | |
Member
Join Date: Mar 2009
Location: Switzerland
Posts: 40
Rep Power: 17 |
Quote:
Or are you looking to automate this? PyFoam has a utility that will do the copying part elegantly for you. If the mesh has changed between 0-2s, and you get errors while continuing, you may also need to copy from 2/polyMesh/* into constant/polyMesh (backup the original). |
||
February 14, 2013, 08:48 |
|
#3 |
New Member
Join Date: Oct 2012
Posts: 17
Rep Power: 14 |
Thanks for such a quick reply.. a very good idea indeed
then my second question is how to output the values of some of the parameters at the inlet, which are defined as zeroGradient at 0th time. because even for the 2nd time step, at the inlet, when I look at the boundaryField, I see the respective boundary condition defined as in 0, but not like a table with the values. Thanks again |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |