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

[OpenFOAM.com] v1906 for Windows 10- how to modify the source code

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By gian93

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2020, 12:04
Default v1906 for Windows 10- how to modify the source code
  #1
Member
 
giovanni
Join Date: Sep 2017
Posts: 40
Rep Power: 4
gian93 is on a distinguished road
I just downloaded OpenFoam v1906 for Windows 10. I've installed it successfully on my WLS. I can run tutorials and other simple cases. What I would really like to do is to be able to modify the source code, add boundary condition and so on. Is this possible using WSL and of OpenFoam v1906 for Windows 10 ? The first problem that I've encountered is that rootfs foleder , where is built OpenFOAM, is not accessible via WSL (permission denied).
Please give me an help to manage to access and modify the source code.
thanks in advance
gian93 is offline   Reply With Quote

Old   January 3, 2020, 23:57
Default
  #2
New Member
 
Join Date: Oct 2016
Posts: 25
Rep Power: 5
tonnykz is on a distinguished road
Hi, Giovanni,
I don't really know the answer to your question. But I also once installed OpenFOAM on Windows 10 through WSL, but dealing with text files was not straightforward, so I switched to Ubuntu 18.04. Anything is much more convenient in it.
Best regards,
Tonnykz
tonnykz is offline   Reply With Quote

Old   January 4, 2020, 10:07
Default
  #3
Member
 
giovanni
Join Date: Sep 2017
Posts: 40
Rep Power: 4
gian93 is on a distinguished road
I cannot change OS and install openFoam natively on ubuntu. The only thing i can do is install it through WSL. Anyone can help?
gian93 is offline   Reply With Quote

Old   January 5, 2020, 20:36
Default
  #4
New Member
 
Join Date: Oct 2016
Posts: 25
Rep Power: 5
tonnykz is on a distinguished road
Giovanni,
I would suggest to learn how to install dualboot Ubuntu alongside yours already installed windows.
Apart from that you will have to learn a lot yourself (user guides, tutorials, internet, etc.).
Good luck,
Best regards,
Tonnykz
tonnykz is offline   Reply With Quote

Old   January 30, 2020, 04:59
Default
  #5
Member
 
giovanni
Join Date: Sep 2017
Posts: 40
Rep Power: 4
gian93 is on a distinguished road
problem solved: simply follow the instruction for of7 (ubuntu 1804) on openFoam wiki page.Standard source code works also on windows WSL.
I hope it will help for someone.
HPE likes this.
gian93 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 58 February 3, 2020 06:52
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? Sorabh OpenFOAM Meshing & Mesh Conversion 0 November 22, 2019 00:58
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 9 November 30, 2018 11:20
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 14:14


All times are GMT -4. The time now is 09:29.