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

Implementing new viscosity model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2016, 01:18
Default Implementing new viscosity model
  #1
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
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
viraj20feb is offline   Reply With Quote

Old   September 6, 2016, 07:07
Default
  #2
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 17
T.D. is on a distinguished road
Hi,

Simply do:
Code:
cp -r $WM_PROJECT_DIR/src/transportModels/incompressible/viscosityModels/BirdCarreau $WM_PROJECT_USER_DIR
Regards,
T.D.
T.D. is offline   Reply With Quote

Old   September 7, 2016, 02:11
Smile
  #3
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Thank you so much Mr. T.D
viraj20feb is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 08:45.