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

An OpenFOAM solver for porous media nees help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2021, 01:03
Unhappy An OpenFOAM solver for porous media needs help
  #1
New Member
 
Yang Zhe
Join Date: Apr 2021
Posts: 3
Rep Power: 4
Yang Zhe is on a distinguished road
Hello, everyone, I developed a OpenFOAM solver for porous media, based on stressAnalysis-solidDisplacementFoam (OF version 4.x), It aims to solve two coupled equations about two variables(scalar p and vector U).
When I used this solver to solve a specific initial & boundary value problem, it is found that when the input parameter Sr=0.95 (so that coefficient Dp1=0.0266562,Dp2=2.61497E6), the calculation is successful and proceeds to the predefined end time, though the result is not correct(p field only varies within the very thin boundary). However, when I changed the parameter Sr from 0.95 to 1.0 with other parameters kept, the calculation broke down at the first time step and the initial residual of p could not be reduced form 1.0 as the iteration proceeded.
I guess that the problem results from the solving of the equation system. Could anybody give me any suggestions?
I want to attach the corresponding files for reference. But the "Attachments" button does not work. Could anybody tell me how to attach? Thank you all!

Last edited by Yang Zhe; August 26, 2021 at 03:39.
Yang Zhe 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
suGWFoam: Richards equation solver for porous media flows liu OpenFOAM Announcements from Other Sources 4 February 10, 2021 15:14
running OpenFOAM 2.2.0 case & solver on OpenFOAM V6 Ash Kot OpenFOAM Running, Solving & CFD 0 October 25, 2019 16:44
How to rewrite a standard OpenFOAM solver as a C++ class cfbaptista OpenFOAM Programming & Development 7 March 23, 2016 04:50
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Can't get data from OpenFoam to external solver using externalCoupled perry OpenFOAM Running, Solving & CFD 4 May 26, 2014 08:09


All times are GMT -4. The time now is 14:26.