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

MassMomentum sources

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2005, 14:30
Default Is there a way to setup mass/m
  #1
rbw
New Member
 
Ramiro Brito Willmersdorf
Join Date: Mar 2009
Location: Recife, Pernambuco, Brasil
Posts: 15
Rep Power: 17
rbw is on a distinguished road
Is there a way to setup mass/momentum point sources? Alternatively, can boundary conditions be assigned to single nodes?

I'm asking because I have a very high speed jet flowing into a very large volume. If I model the inlet as a real inlet, I have to use very small elements (obviously), therefore I have to use itsy bitsy teeny weeny time steps to achieve stability (since there is no local time stepping, as I understand). We are talking element edge sizes from 0.020m to 10m here. (Obviously the mesh is nicely graded.)

If I'm just interested in the global features of the flow, this is not so good, because I have to wait for thousands and thousands of time steps just for the flow information to propagate throughout the domain. I think I could get an adequate solution much faster if I could use a more uniform (with larger elements) mesh.

Would it work to use a non-uniform input profile, with all nodes but one with the velocity I want?

Many thanks!
rbw is offline   Reply With Quote

Old   November 1, 2005, 11:46
Default Hi, I want to solve an equati
  #2
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
Hi,
I want to solve an equation of momentum with an exterior force F (F doesn't depend on U, it is an volVectorField).

should I make F like a source term (with fvm::Su)?
because when I make :

tmp<fvvectormatrix> UEqn
(
fvm::div(phi, U)
- fvm::laplacian(mu,U)
);
UEqn().relax();

solve(UEqn() == -fvc::grad(p))-fvm::Su(F,U) )
I have a bad result.
thanks for your help
olivier is offline   Reply With Quote

Old   November 1, 2005, 15:20
Default no, you just add -F solve(UEq
  #3
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
no, you just add -F
solve(UEqn() == -fvc::grad(p))-F)

did you try that?
niklas 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
Sources Term Power CFX 0 November 27, 2007 12:30
'Surface Sources' John CFX 6 August 26, 2005 00:51
electrostatic sources pi CFX 2 July 4, 2005 05:37
sources David George CFX 5 October 8, 2002 02:16
Sources/sinks john Swallow Main CFD Forum 2 May 15, 2000 00:15


All times are GMT -4. The time now is 21:20.