CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Sysyem of linear equations

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By FMDenaro
  • 1 Post By duri

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2016, 00:40
Default Sysyem of linear equations
  #1
Member
 
Soyol
Join Date: Jun 2014
Location: Berkeley, CA
Posts: 39
Rep Power: 12
soes is on a distinguished road
Hello everybody,

I am using finite difference to solve linear internal wave 2d equations. I discretize the equation but at the end the linear system of equations do not come to a well format to be able to code it and solve it.
Attached Images
File Type: jpg 2016-03-11 20.29.29.jpg (66.5 KB, 27 views)
File Type: jpg 1stwarmup.JPG (87.8 KB, 20 views)

Last edited by soes; March 12, 2016 at 13:58.
soes is offline   Reply With Quote

Old   March 12, 2016, 04:34
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Sorry, but it is very hard to read from your pages what you did...

It seems a second order PDE, is it hyperbolic? You can then reduce to a system of two equations of first order and solve with classical methods you can find in many textbook.
For example http://www.cambridge.org/se/academic...on-2nd-edition
soes likes this.
FMDenaro is offline   Reply With Quote

Old   March 12, 2016, 14:06
Default
  #3
Member
 
Soyol
Join Date: Jun 2014
Location: Berkeley, CA
Posts: 39
Rep Power: 12
soes is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Sorry, but it is very hard to read from your pages what you did...

It seems a second order PDE, is it hyperbolic? You can then reduce to a system of two equations of first order and solve with classical methods you can find in many textbook.
For example http://www.cambridge.org/se/academic...on-2nd-edition
Thank you so much for the reply. I changed the pictures. In the typed picture you see how I discretize the equation. And on the written picture I considered a simple domain to see how equations look like. But if you look at the equations, although they are linear there is no systematic way to solve them, and this is my question how to solve them.
Thanks in advance
soes is offline   Reply With Quote

Old   March 12, 2016, 14:37
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
but Wxx and Wzz are second derivatives in space? Therefore, you wrote a fourth-order PDE ....

I suggest to decompose in a lower order system of equations to analyse the nature of the PDE. Then you can simply apply any of the method in the book I linked.
FMDenaro is offline   Reply With Quote

Old   March 12, 2016, 14:43
Default
  #5
Member
 
Soyol
Join Date: Jun 2014
Location: Berkeley, CA
Posts: 39
Rep Power: 12
soes is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
but Wxx and Wzz are second derivatives in space? Therefore, you wrote a fourth-order PDE ....

I suggest to decompose in a lower order system of equations to analyse the nature of the PDE. Then you can simply apply any of the method in the book I linked.
Thank you for the reply. It is basically simplified linear equation of internal waves
Yes they are spatial derivatives which go into time derivative (i.e. laplacian of time and space both).
But what do you mean exactly by decompose to lower order system?
Is my discretization wrong? I cannot proceed with discretization of the equation without modifying it?
soes is offline   Reply With Quote

Old   March 14, 2016, 14:47
Default
  #6
Senior Member
 
duri
Join Date: May 2010
Posts: 245
Rep Power: 17
duri is on a distinguished road
The LHS in the final equation has Wxx. I think it is typographical error, it should be W. Then the given equation is correct. By the way, what equation is this?. It looks very complicated.
soes likes this.
duri is offline   Reply With Quote

Old   March 18, 2016, 01:56
Default
  #7
Member
 
Soyol
Join Date: Jun 2014
Location: Berkeley, CA
Posts: 39
Rep Power: 12
soes is on a distinguished road
No it is unfortunately correct
soes 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
Heat flux BC lfrigeri3 OpenFOAM 9 February 22, 2014 12:59
Oscillating behaviour when mesh gets too small james91 OpenFOAM Running, Solving & CFD 0 January 9, 2014 06:04
Solving Linear System of Equations in UDF mohsen zendehbad FLUENT 5 May 8, 2010 11:39
Solving Linear System of Equations in UDF mohsen zendehbad FLUENT 0 April 25, 2010 02:23
IdeasUnvToFoam Bug amp Fix benru OpenFOAM Bugs 42 November 13, 2009 08:59


All times are GMT -4. The time now is 07:23.