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

Implementation of a very simple solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2015, 18:05
Default Implementation of a very simple solver
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
Dear All,

I am trying to figure out how to manage a very simpe solver. I need only the continuity equation to be solved.

What I want to do is the following:

1. my domain is very simple: an empty cube with 5 walls and 1 inlet;
2. I insert a certain flow rate from the inlet and I want to fill all the domain;
3. the idea is to evaluate the density of each cell;
4. in the cells with density < 1, everything is fine; where the density is bigger, I do the following: Delta_rho = rho - 1. Then I "the" the Delta_rho in the neibouhring cells.

Does anyone have an idea about how to solve this?

Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   February 7, 2015, 07:54
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Samuele,

Here's some reading material:
Best regards,
Bruno
samiam1000 likes this.
__________________
wyldckat 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
MAC Vs SIMPLE Solver? Vino Main CFD Forum 1 May 3, 2021 12:07
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Multigrid with SIMPLE Navier-Stokes Solver tyson Main CFD Forum 1 June 12, 2011 03:09
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
n-s equation solver using simple algorithm paresh.halder FLUENT 0 December 3, 2010 17:00


All times are GMT -4. The time now is 18:47.