|
[Sponsors] |
September 6, 2016, 01:18 |
Implementing new viscosity model
|
#1 |
Member
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10 |
Greetings,
I am trying to implement a new viscosity model for a non-newtonian fluid in foam extend 3.1. I follow the steps mentioned here: http://www.tfd.chalmers.se/~hani/kur...nts/Report.pdf When I try to give this command: cp -r --parents \ src/transportModels/incompressible/viscosityModels/BirdCarreau/ \ $WM_PROJECT_USER_DIR the output is: cp: with --parents, the destination must be a directory Try 'cp --help' for more information. Can someone help me in this endeavour? Thanks |
|
September 6, 2016, 07:07 |
|
#2 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 |
Hi,
Simply do: Code:
cp -r $WM_PROJECT_DIR/src/transportModels/incompressible/viscosityModels/BirdCarreau $WM_PROJECT_USER_DIR T.D. |
|
September 7, 2016, 02:11 |
|
#3 |
Member
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10 |
Thank you so much Mr. T.D
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viscosity model - error: object is not allocated - C++ beginner | avila.vc | OpenFOAM Programming & Development | 5 | February 14, 2022 03:00 |
Fluid turns into solid at given T (via viscosity UDF or solidifcation model?) | jpina | FLUENT | 1 | April 3, 2016 04:48 |
Viscosity model in the twoPhaseEulerFoam | enoch | OpenFOAM Programming & Development | 3 | March 17, 2016 10:53 |
Implementing new viscosity model | prjohnston | OpenFOAM Running, Solving & CFD | 6 | July 3, 2015 05:26 |
Viscosity ratio in gamma-theta transition model based on k-w sst turb model | Qiaol618 | Main CFD Forum | 8 | June 9, 2012 07:43 |