|
[Sponsors] |
February 17, 2023, 16:58 |
Trouble adding a turbulence model in DPMFoam
|
#1 |
New Member
Ignacio Bartol
Join Date: Jun 2022
Posts: 2
Rep Power: 0 |
Good evening/afternoon,
Hi! This is my first post here, but I spent a lot of time reading this forum. First of all, thank you all for the help/advice in all these helpful posts. Now is my turn to throw the dice and get some personalized help if possible. I am trying to add a new turbulence model to the DPMFoam solver. Specifically, I am trying to add the transitional k-omega SST LM model. To give some context:
The steps that I am following are the following: Code:
$ mkdir ~/OpenFOAM/DPMFoamLM #Where my customized solver will be $ cp -r /$FOAM_SOLVERS/lagrangian/DPMFoam/* ~/OpenFOAM/DPMFoamLM/ #Copying the solver to my custom solvers $ export FOAM_USER_APPBIN=~/OpenFOAM #Pointing the variable to where I want my binaries from the solver $ cd ~/OpenFOAM/DPMFoamLM $ mv DPMFoam.C DPMFoamLM.C Code:
more /Make/files DPMFoamLM.C EXE = $(FOAM_USER_APPBIN)/DPMFoamLM #include "kOmegaSSTLM.H" makeRASModel(kOmegaSSTLM); After these steps I do: Code:
$ wclean $ wmake libso Code:
/bin/ld: cannot open output file /storage/home/hcoda1/7/ibartol3/OpenFOAM/DPMFoamLM: Is a directory collect2: error: ld returned 1 exit status make: *** [/storage/home/hcoda1/7/ibartol3/OpenFOAM/DPMFoamLM] Error 1 I also tried to do this locally in my local OpenFOAM compilation but compiling straight into $FOAM_APPBIN and it works... Any help would be highly appreciated! And let me know if you would need further information, I am attaching the full log file just in case you want to read it. Best, Ignacio |
|
Tags |
compilation error, custom solver, dpmfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence model activation | Scaty | Main CFD Forum | 8 | October 26, 2021 19:33 |
Adding graviational acc. to turbulence model | fertinaz | OpenFOAM Programming & Development | 6 | December 12, 2020 01:04 |
Adding compiled turbulence model to the library - OpenFOAM 5.0 | netto005 | OpenFOAM Programming & Development | 0 | April 18, 2018 11:53 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 10:02 |