|
[Sponsors] |
September 27, 2010, 06:49 |
Implementing New Viscosity Models !
|
#1 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 |
Hi Foamers,
I am trying to implement my new viscosity model, like those in: $WM_PROJECT_DIR/src/transportModels/incompressible/viscosityModels/ I copied all the src folder to my $WM_PROJECT_USER_DIR then i made wmake but it didnot work, i had an error So How to do that, what we really need to copy and change in order wmake will work ? thanks T.D. |
|
September 28, 2010, 04:15 |
|
#2 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi T.D. again
How are you? I hope you are doing very well. 1. Don't copy whole of the src folder. Just copy your desired file. 2. See the users' guide pdf. 3.For compiling whole src in terminal change to src folder and type ./Allwmake Good luck Ata |
|
September 28, 2010, 04:56 |
More explanation please
|
#3 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 |
Hi ata, thank you so much for your great help
you are really a great co operative person thank you so much but can you explain me more please please because i tried all, and in user guide i couldn't find it. 1-what to copy? it is not a file, it should be a folder?, like crosspowerlaw and if i copied it from the main directory of openfoam, where to paste it in the User directory? since i have OpenFoam in the root (WM_PROJECT_DIR) and my own directory (WM_PROJECT_USER_DIR), i hope you understood me? 2-then for ./Allwmake where to run and do that in which directory? is it the main (WM_PROJECT_DIR)? 3-What about Calculated boundary conditions? If you look to my previous model syntax i sent to you, you see the term "J" and the field "c". What if i need to apply a BC to a patch in "c" but that depends on "J", for example i want to set J=0 in the patch BC of "c" field. Thanks a lot my brother yours, T.D. |
|
September 28, 2010, 06:25 |
|
#4 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi T.D.
Excuse me I'm little busy. 1. For simplicity copy the folder beside the main. 2. In terminal go to the desired folder and type wmake. 3. I don't know. Best regards Ata |
|
September 28, 2010, 06:55 |
thanks
|
#5 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 |
thanks a lot
no problem you, execuse me |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implementing low Re number k-e models in Fluent. | kiran | FLUENT | 1 | July 3, 2017 18:04 |
Implementing new viscosity model | prjohnston | OpenFOAM Running, Solving & CFD | 6 | July 3, 2015 05:26 |
Viscosity properties for transport models | ozzythewise | OpenFOAM Running, Solving & CFD | 4 | October 7, 2010 21:39 |
TwoPhaseEulerFoam viscosity models | juho | OpenFOAM Running, Solving & CFD | 2 | May 20, 2008 12:31 |
non-linear eddy viscosity models | George | Main CFD Forum | 0 | December 11, 2006 20:14 |