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

Solving an equation implicitely

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

Like Tree1Likes
  • 1 Post By ahmmedshakil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2014, 05:36
Default Solving an equation implicitely
  #1
Senior Member
 
Join Date: Dec 2011
Posts: 121
Rep Power: 14
fshak92 is on a distinguished road
Hi FOAMers,

I would like to solve this equation :

laplacian(U) + U = (known field)

where u is unknown volVectorField and should be solve implicitly.
i don't know what i can do with the term (U), because to solve the equation implicitly i can write:
Code:
solve ( fvm::laplacian(U) + fvm::U == knownTerm...)
The problem is that the term fvm::U does not work because i need an operator after fvm::, and if i just write (U), OpenFOAM uses the value from the previous time step, which will be different from what i'm going to solve...
Does anybody know how i can deal with the U term to solve it implicitly?
Tnx,
fshak92 is offline   Reply With Quote

Old   October 13, 2014, 05:48
Default
  #2
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Have you tried with:
fvm::Sp(1,U) ?
(term I have written for example)

#shakil
fshak92 likes this.
ahmmedshakil 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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
SixDoFRigidBodyMotion under OF2.3 ( self oscillating cylinder) Scabbard OpenFOAM Running, Solving & CFD 1 July 22, 2014 04:50
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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