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

Problem to solve ddt(U)+laplacian(nu,U)=f

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2014, 07:44
Default Problem to solve ddt(U)+laplacian(nu,U)=f
  #1
ooo
Member
 
Join Date: Feb 2012
Posts: 49
Rep Power: 14
ooo is on a distinguished road
I'm going to solve the below equation where U is the velocity field and f is a volume vector field with the dimension of m/s^2.

fvVectorMatrix UEqn
fvm::ddt(U)- fvm::laplacian(nu, U)+f


By using a solver like 'PBiCG' i get the error that i need a symmetric matrix solver.
After choosing a symmetric solver, i get the error that :
keyword agglomerator is undefined in dictionary
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 402.


And when i use an implicit approach ( fvm::Sp(1,f) ) instead of 'f' , i get another error about incompatibility of f and U.

I would appreciate if somebody can tell what is wrong here.
ooo is offline   Reply With Quote

Old   February 10, 2014, 03:35
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
You didn't choose 'a' symmetric solver as in an arbitrary one, but specifically GAMG, right? And then you get the error "keyword agglomerator is undefined in dictionary". May I suggest adding that keyword to your solution dictionary?
ooo likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   February 10, 2014, 06:14
Default
  #3
ooo
Member
 
Join Date: Feb 2012
Posts: 49
Rep Power: 14
ooo is on a distinguished road
Quote:
Originally Posted by akidess View Post
You didn't choose 'a' symmetric solver as in an arbitrary one, but specifically GAMG, right? And then you get the error "keyword agglomerator is undefined in dictionary". May I suggest adding that keyword to your solution dictionary?
Thank you very much, it works.
Always i thought there is a problem in my code,So not concentrated on somewhere else! Thanks.
ooo 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
how to solve a problem involving both laminar and turbulent flow seefd FLUENT 1 June 3, 2011 03:20
Could CFX solve hydraulic jump problem? Andy Chen CFX 0 August 18, 2009 10:13
Someone use Icepak to solve microchannel problem ? Bernie FLUENT 1 October 31, 2006 14:29
how to solve this problem in CFX5 calculation? cfxbeginer CFX 2 May 1, 2003 08:55
use of MAC method to solve sloshing problem. S.R.SAHI Main CFD Forum 1 April 15, 1999 22:28


All times are GMT -4. The time now is 06:15.