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

Solve double laplacian (laplacian of laplacian) equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2016, 22:07
Default Solve double laplacian (laplacian of laplacian) equation
  #1
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Hi,

I can successfully solve \nabla^2 p =0 using

Code:
solve(fvm::laplacian(p));
How can I solve \nabla^4 u =0?

Besides that, would mixed boundary conditions for u be enough?

Thanks!
t.oliveira is offline   Reply With Quote

Old   January 13, 2016, 16:17
Default
  #2
Member
 
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 64
Rep Power: 13
blais.bruno is on a distinguished road
You can solve by carrying out a double laplacian with a mute variable

Code:
mute= solve(fvm::laplacian(p));
solve(fvm::laplacian(mute));
And then solve iteratively until convergence. For periodic boundary conditions, this preserves second order (or whatever order your scheme is)

The solution contained in mute will be the solution to
\nabla^4 u =0?

The problem is that this requires boundary condition for both p and mute, thus you need to have 2 boundary conditions for mute, which is not generally the case if you are trying to solve \nabla^4 u =0.

However, solving a fourth degree equation straight away with openfoam is not possible as far as I know.


Quote:
Originally Posted by t.oliveira View Post
Hi,

I can successfully solve \nabla^2 p =0 using

Code:
solve(fvm::laplacian(p));
How can I solve \nabla^4 u =0?

Besides that, would mixed boundary conditions for u be enough?

Thanks!
blais.bruno is offline   Reply With Quote

Old   February 1, 2016, 10:49
Default
  #3
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Thanks, Bruno. This answers my questions.
t.oliveira 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
Help with if statement CHARLES OpenFOAM Programming & Development 17 August 22, 2021 04:14
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 07:09
solve an implicit equation in UDF Rui_27 Fluent UDF and Scheme Programming 0 September 8, 2014 11:12
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 05:45.