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

Evaluate an impicit term

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2009, 14:47
Default Evaluate an impicit term
  #1
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
momentum source term zwdi FLUENT 14 June 27, 2017 16:40
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
UDF Source Term Units? Brian FLUENT 1 October 24, 2005 10: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 11:20


All times are GMT -4. The time now is 04:13.