|March 30, 2015, 11:24||
acceleration.dat in interfoam
Join Date: Feb 2014
Posts: 67Rep Power: 3
I tried to specify acceleration from file acceleration.dat file. but there is a problem. solver gets only first value of acceleration and after that it dont read acceleration.dat file. i added following code in interfoam creatFields.h
// Read the data file and initialise the interpolation table
g.value() = timeSeriesAcceleration(runTime.value());
i know creatFields.H is read just once. and i have to update g.value at each time step.... but the problem is how to do it..... i have tried by adding while loop in creatFields for g.value() but it doesnt work. as you said creatFields is read only once. if i take out g.value form creatFields.H and place it in interFoam g.value does not replace g vector specified in constants directory of the case. please suggest if you have an idea.....
please try and help me too......
|Thread||Thread Starter||Forum||Replies||Last Post|
|interFoam in parallel||gooya_kabir||OpenFOAM Running, Solving & CFD||0||December 9, 2013 06:09|
|Problem of InterFoam with LES SpalartAllmarasIDDES||keepfit||OpenFOAM||3||August 29, 2013 11:21|
|InterFoam stops after deltaT goes to 1e14||francesco_b||OpenFOAM Running, Solving & CFD||8||July 31, 2013 02:29|
|interFoam vs. simpleFoam channel flow comparison||DanM||OpenFOAM Running, Solving & CFD||11||January 5, 2013 07:21|
|Open Channel Flow using InterFoam type solver||sxhdhi||OpenFOAM Running, Solving & CFD||3||May 5, 2009 21:58|