CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Varible acceleration in InterFoam is not solved....

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2015, 12:27
Post Varible acceleration in InterFoam is not solved....
  #1
Member
 
Muhammad Usman
Join Date: Feb 2014
Posts: 91
Rep Power: 0
13msmemusman is on a distinguished road
I found in creatFields.H file of interfoam (It was commented)

// Read the data file and initialise the interpolation table
interpolationTable<vector> timeSeriesAcceleration
(
runTime.path()/runTime.caseConstant()/"acceleration.dat"
);

i wanted to input an acceleration file in openfoam. So i simply uncomment it and added interpolationTable.H header file. It compiled without error.

when i made a acceleration.dat file and kept it in constant directory and run the case the case runs. but the problem is it don't solve for acceleration according to the acceleration specified in acceleration.h..... Instead it just solves as acceleration specified in g file. if i remove g file it gives an error. Please help me if there is something else to be specified in solver to input acceleration.dat file.
13msmemusman is offline   Reply With Quote

Reply

Tags
accelerationdat, interfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a concentration field around a bubble in InterFoam azman OpenFOAM Running, Solving & CFD 3 June 7, 2022 05:21
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
solved: contact angle correction in interFoam rcastilla OpenFOAM Bugs 24 March 2, 2016 14:43
Modified interFoam compilation fails voingiappone OpenFOAM Programming & Development 6 October 1, 2013 04:47
interFoam (and other multiphase solvers): What is solved? mconroy OpenFOAM Running, Solving & CFD 3 February 23, 2010 17:07


All times are GMT -4. The time now is 10:55.