|
[Sponsors] |
[OpenFOAM.com] Problem finding the solvers directory |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Omar
Join Date: Apr 2024
Posts: 17
Rep Power: 2 ![]() |
Hello, i am fairly recent to openfoam so sorry if this is a silly question.I am not sure how openfoam was eaxctly installed on my company's pc but it very different from what i did on my personal PC.Normaly the tutorials run just fine but the problem comes when i need to create my own solver.If i understood correctly i must go into the solvers directory choose which one i would like modify and from there work on it.The problem is i can't find this directory.The terminal i use is msys64 and the version is v2206.When i type echo $FOAM_SOLVERS it gives me this path:/home/ofuser/OpenFOAM/OpenFOAM-v2206/applications/solvers. However when i type it the output is that this directory doesn't exist whereas on the version i installed on my own pc using wsl and ubuntu for v2312 this works just fine.So i was wondering is this an access issues like did the company install an only user license if it exists and not a develloper license that lets me modify the solvers?Or is it something else.Would appreciate any kind of response or help.
|
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 41 ![]() ![]() |
Quote:
If you are using the windows cross-compiled version, the installation only includes the binaries and libraries. There isn't much point in including any of the source code, since you cannot recompile things there anyhow. If you want access to the solvers and library code, they are always freely available from https://develop.openfoam.com/Development/openfoam (no there is no special "developer" license, it is all GPL-3 open-source). If you want to browse the solver and library code locally (and recompile etc), this is the point where people often use WSL and then install the openfoam packages, with sources etc: https://develop.openfoam.com/Develop...d#sub-packages |
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Omar
Join Date: Apr 2024
Posts: 17
Rep Power: 2 ![]() |
Thank you for your reply.My main issue actually is i want to create my own solver using an existing one and modifying it.However i can't seem to find the solvers directory.If i install the applications folders without installing wsl will i then be able to modify current existing solvers or is it obligatory to use wsl to recompile?
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 41 ![]() ![]() |
Quote:
If you want to use a windows-only environment, you will not have much fun with recompiling (ie, forget about it). For creating new solvers, you are definitely much better to be using a Linux environment (eg, WSL). if you get to the stage that you need to redeploy windows binaries (of your own solvers), you'll want to look at the wiki info: https://develop.openfoam.com/Develop...-compile-mingw |
||
![]() |
![]() |
![]() |
Tags |
$foam_solvers, installation, licensing issue |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
somaFoam - And plasma goes weee | Destouches | OpenFOAM Running, Solving & CFD | 11 | July 17, 2024 06:55 |
[OpenFOAM.com] Installation Problems during Solver installation in OpenFOAM | abdull12 | OpenFOAM Installation | 1 | July 31, 2023 11:08 |
OpenFoam install script Error during paraFoam installation | SePe | OpenFOAM Installation | 10 | June 19, 2010 15:15 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 09:50 |
Problem with steadyState solvers using pressure BC | Victor | OpenFOAM | 1 | December 14, 2009 05:40 |