|
[Sponsors] |
Compiled custom wall function unknown by solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2014, 07:35 |
|
#21 |
New Member
Julian Hüttner
Join Date: Nov 2013
Location: Karlsruhe, Germany
Posts: 22
Rep Power: 12 |
Hi Alexey,
I managed to fix the SigFpe error, but now I get multiple other errors. So I decided it is best to build the debug version of OF. So far, I could not find a clear instruction how to do it so I did following to get started and try: I changed the line Code:
export WM_COMPILE_OPTION=Opt Code:
export WM_COMPILE_OPTION=Debug Code:
cd /opt/openfoam230/ ./Allwmake Code:
Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. Code:
julian@julian-ubuntu:~/OpenFOAM/julian-2.3.0$ cd /home/julian/workspace/OpenFOAMjulian@julian-ubuntu:~/workspace/OpenFOAM$ ./Allwmake Error: Current directory is not /opt/openfoam230 Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. Maybe you know about a page where I can read through some instructions how to install OF in debugging mode? Thanks, Julian |
|
October 16, 2014, 08:25 |
|
#22 |
Senior Member
|
Hi,
I don't know, maybe there're binary packages with debug version for Ubuntu. If not, you can follow guide on building OpenFOAM from sources: http://openfoam.org/download/source.php. Here's one of the ways: 0. Install build dependencies (see guide) 1. cd $HOME 2. mkdir OpenFOAM-dbg 3. cd OpenFOAM-dbg 4. wget -c http://downloads.sourceforge.net/foa...FOAM-2.3.0.tgz 5. tar xzf OpenFOAM-2.3.0.tgz 6. rm OpenFOAM-2.3.0.tgz (or you can keep archive if you like) 7. cd OpenFOAM-2.3.0 8. vi etc/bashrc 9. Change export WM_PROJECT=OpenFOAM to export WM_PROJECT=OpenFOAM-dbg 10. Change export WM_COMPILE_OPTION=Opt to export WM_COMPILE_OPTION=Debug 11. Exit vim 12. source etc/bashrc WM_NCOMPPROCS=4 (adjust number of processes suitable for your desktop) 13. ./Allwmake > log.Allwmake 2>&1 14. Wait |
|
October 22, 2014, 10:56 |
|
#23 |
New Member
Julian Hüttner
Join Date: Nov 2013
Location: Karlsruhe, Germany
Posts: 22
Rep Power: 12 |
Hi Alexey,
so finally I got my wallFunctions running! Thanks to your advices, I was able to install the debug version and find the errors in my C files. Thank you very much for your time! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] fluent3DMeshToFoam | bego | OpenFOAM Meshing & Mesh Conversion | 31 | August 16, 2023 10:04 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 16:46 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |