|
[Sponsors] |
May 25, 2017, 16:16 |
adding a solver from OF 16.x to OF 4.x
|
#1 |
Member
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12 |
Hello guys, I'm relatively new to OpenFoam and I've a small doubt as follows,
There is steady state solver for coal combustion in ESI's OF ver 16.x which I want to add to 4.x version of OpenFoam foundation version which I generally use. What is the easiest way possible? Solver link - http://www.openfoam.com/documentatio...737c51864.html |
|
May 26, 2017, 12:46 |
|
#2 |
Member
Tarang
Join Date: Feb 2011
Location: Delhi, India
Posts: 47
Rep Power: 15 |
Well I have not checked for its alternative in OpenFOAM 4.x, but you can copy it in this way:
1. Go to the folder and in the terminal run Code:
> foamNewApp <myApp> 3. Copy all the contents of your app into that folder and change all the names of your app to <myApp>. Generally I add "my" to the name of the app. This helps me in keeping new files apps boundary conditions differentiated. 4. Open Make/files and verify that the <myApp>.C matches the name <myApp>.C 5. Here comes the tough part, linking the libraries. You can copy and replace the Make/options from original source to <myApp>/Make directories. 6. run wmake command in <myApp> directory from terminal Code:
myApp> wmake If it doesn't, then perhaps it needs some more head breaking regarding the Make/options because there may be some library mismatch. |
|
May 26, 2017, 13:11 |
|
#3 | |
Member
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam | samiam1000 | OpenFOAM Running, Solving & CFD | 39 | March 31, 2016 08:43 |
problem in adding instructions to the solver | Gary51075607 | OpenFOAM Programming & Development | 2 | January 13, 2015 22:26 |
adding strainRate in a solver | Mahyar Javidi | OpenFOAM Programming & Development | 11 | January 11, 2015 14:53 |
Adding additional complex source term to BuoyantBoussinesqPisoFoam solver | pajofego | OpenFOAM Programming & Development | 2 | April 9, 2013 17:00 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |