CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Solving an equation implicitely

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

Like Tree1Likes
  • 1 Post By ahmmedshakil

LinkBack Thread Tools Display Modes
Old   October 13, 2014, 05:36
Default Solving an equation implicitely
Senior Member
Join Date: Dec 2011
Posts: 121
Rep Power: 7
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:
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?
fshak92 is offline   Reply With Quote

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

fshak92 likes this.
ahmmedshakil is offline   Reply With Quote


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
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 11:08
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07

All times are GMT -4. The time now is 00:38.