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

Evaluate an impicit term

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 26, 2009, 14:47
Default Evaluate an impicit term
  #1
Senior Member
 
Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 180
Rep Power: 8
fs82 is on a distinguished road
Hello Guys,

I have a question concerning the handling of implicit terms. I added a term to my Ueqn and the solver should handle this term implicit. But I want to have this term as a field which should be written to a file for postprocessing. Is there a way to evaluate only this term?

In Detail:

tmp<fvVectorMatrix> greenWood2::dragForce(volVectorField& U) const
{
return
(
fvm::Sp(mag(U),U)
);
}

And now I want a field which contains mag(U)*U but I dont want to implement a second function. The reason is error avoiding. If I will make a change on my dragForce function I always have to remember to change the second function too. So one place, one equation but I need an idea how to evaluate a fvVectorMatrix :-D

kind regards
Fabian
fs82 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
momentum source term zwdi FLUENT 13 December 5, 2013 18:58
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
UDF Source Term Units? Brian FLUENT 1 October 24, 2005 09:15
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 11:52
bouyancy term in epsilon equation Michael Main CFD Forum 1 June 25, 1999 10:20


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