|
[Sponsors] |
May 4, 2012, 11:46 |
Adding new solver
|
#1 | ||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16 |
Hi,
I made some modifications to src/finiteVolume/fvMatrices/solvers/MULES/ For that I copied MULES to ~/OpenFOAM/shevchuk-2.1.x/src/finiteVolume/fvMatrices/solvers/ and renamed it to MyMULES. As I don't want to copy the whole finiteVolume library to WM_PROJECT_USER_DIR I just added this line to src/finiteVolume/Make/files: Quote:
Quote:
What didn't I do? |
|||
May 4, 2012, 12:00 |
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Sometimes lnIncludes don't update. To force it, you can go to src/finiteVolume and execute:
Code:
wmakeLnIncludeAll . You might also want to do rmdepall so that each object remaps its dependencies.
__________________
~~~ Follow me on twitter @DavidGaden |
|
May 7, 2012, 07:16 |
|
#3 | ||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16 |
Thanks David,
unfortunately it doens't help. I must have forgotten something. Or to be honest, I just don't know how to do it properly. If I remove dependencies, remove lnInclude and start the compilation over new by executing Code:
wclean; wmake libso Quote:
Quote:
|
|||
May 7, 2012, 07:27 |
|
#4 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16 |
Now I have made a dummy modification of MyMULES (just added a space character somewhere, where it doesn't matter) and executed "wmake libso" again. Here is the output:
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A New Solver for Supersonic Combustion | nakul | OpenFOAM Announcements from Other Sources | 19 | February 27, 2024 09:44 |
[Other] A New Solver for Supersonic Combustion | nakul | OpenFOAM Community Contributions | 20 | February 22, 2019 09:08 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |