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

Sudo bash, Implementation a new solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2017, 21:16
Default Sudo bash, Implementation a new solver
  #1
New Member
 
Lieh
Join Date: Mar 2017
Posts: 26
Rep Power: 9
akesm is on a distinguished road
Hello

I am implementing my own solver, for that, I pick an already implemented solver in OF and do all the procedures mentioned on the threads.

At the step when I need to do wmake, it does not work, so then I have to do sudo bash first then do wmake, and doing this, wmake works.

When I test the solver, it seems that again I need to be in the condition of sudo bash, otherwise solver is not recognized. Having used sudo bash, then the solver works perfectly, and runs.

Is there any way to have the solver working in normal condition? not necessarily having already sudo bash on?

Thanks for your help in advance
akesm is offline   Reply With Quote

Old   June 5, 2017, 06:01
Default
  #2
Member
 
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 14
dybuk is on a distinguished road
Sound like you try write solver to OpenFoam main directory.
Did you edit the Make/files of new solver i way that new solver will be located in $FOAM_USER_APPBIN instead of $FOAM_APPBIN ?
dybuk is offline   Reply With Quote

Old   June 5, 2017, 19:49
Default
  #3
New Member
 
Lieh
Join Date: Mar 2017
Posts: 26
Rep Power: 9
akesm is on a distinguished road
Yes I do that, and the solver is located in user appbin!
akesm is offline   Reply With Quote

Reply

Tags
new solver, openfoam 4.1, wmake problems


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
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
Understanding conjugate solver implementation in openfoam umeshisode OpenFOAM Programming & Development 0 February 9, 2015 07:17
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 12:34
Puzzled by multi-block solver implementation...... Chen Zhi Main CFD Forum 3 February 14, 2010 21:10


All times are GMT -4. The time now is 14:42.