CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Problem finding the solvers directory

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2024, 07:43
Post Problem finding the solvers directory
  #1
New Member
 
Omar
Join Date: Apr 2024
Posts: 15
Rep Power: 2
itaniOmar is on a distinguished road
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.
itaniOmar is offline   Reply With Quote

Old   May 23, 2024, 06:53
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by itaniOmar View Post
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.

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
itaniOmar likes this.
olesen is offline   Reply With Quote

Old   May 23, 2024, 07:03
Default
  #3
New Member
 
Omar
Join Date: Apr 2024
Posts: 15
Rep Power: 2
itaniOmar is on a distinguished road
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?
itaniOmar is offline   Reply With Quote

Old   May 23, 2024, 17:58
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by itaniOmar View Post
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?

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
olesen is offline   Reply With Quote

Reply

Tags
$foam_solvers, installation, licensing issue


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 01:20.