# Momentum source term problem

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

 February 10, 2009, 13:00 Hi. I have a momentum source #1 Member   Ken Darcovich Join Date: Mar 2009 Location: Ottawa, Canada Posts: 30 Rep Power: 9 Hi. I have a momentum source I need to use (in 2d) that operates with a positive value in the x-direction, but a negative value in the y-direction. Is there a way to apply source terms to individual components of vectors??? I want to do something along the lines of: + fvm::Sp(S,U.component(0)) - fvm::Sp(S,U.component(1)) Any ideas?? thanks, Ken

 February 10, 2009, 14:53 As far as I know its not curre #2 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 725 Rep Power: 13 As far as I know its not currently possible. The diagonal coefficient always has to be a scalar, you are trying to make it a vector.

 February 10, 2009, 16:17 One way to do this may be to s #3 Member   Ken Darcovich Join Date: Mar 2009 Location: Ottawa, Canada Posts: 30 Rep Power: 9 One way to do this may be to simply specify Ux and Uy as scalars, and solve them separately with their own different source terms. The U vector can simply be recomposed afterwards for other standard operations. Any obvious problems (that aren't occurring to me!!) with doing this??? Thanks.

 February 11, 2009, 08:52 Well the Laplacian operator th #4 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 725 Rep Power: 13 Well the Laplacian operator that you need for the pressure equation, is not defined for a vector. I am not sure how you would get around this problem. Perhaps use a sparse tensor? Other than this I don't see anything fundamental, but I'm sure there will be a lot of operational issues that will complicate the problem. I have a vague recollection that someone else wanted to do this kind of thing a few years back. Have you tried searching the forum?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Enrico FLUENT 9 May 30, 2014 11:34 zwdi FLUENT 13 December 5, 2013 18:58 May Huang FLUENT 1 September 5, 2011 05:50 segersson OpenFOAM Running, Solving & CFD 5 March 3, 2006 00:06 shekhar FLUENT 0 April 12, 2004 01:43

All times are GMT -4. The time now is 11:26.