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

creating an unsteady coupled solver

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2017, 10:40
Default creating an unsteady coupled solver
  #1
Senior Member
 
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 14
m2montazari is on a distinguished road
Hi,
I'm somewhat newbie in foam. I wanted to have a solver for unsteady coupled solver with variable density. I started with foam-extend-4.0 and simply edited pUCoupledFoam solver. At the first step, I tried to add time derivative. So added
Code:
 + fvm::ddt(U)
in UEqn.H and compile it to a new solver name, say "unsteadypUCoupledFOAM". But the result is an unstable solver which diverges for a simple starting poiseuille flow(which icoFoam doesn't have any trouble in convergence).
where is my fault? should I change any other things?
Also is there a better choice instead of pUCoupledFoam to start from?
thanks in advanced...

UPDATE:
I decided to check a more simple test case. So I ran first stockes problem (suddenly moving plate in semi-infinite domain). I overcame on the unstability by lowering timestep and using upwind scheme.
Now the problem is that icoFoam results are in good agreement with analytical solution; but unsteadypUcoupledFoam has some errors and do not fit on analytical solution.
I tried to extract rUA from convective-diffusive terms without time derivative term; but it almost doesn't change the results.

Last edited by m2montazari; March 31, 2017 at 12:37. Reason: update
m2montazari is offline   Reply With Quote

Reply

Tags
foam-extend-4.0, pucoupledfoam, unsteady

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 16:44
pressure-based coupled solver for compressible NS equation wangmianzhi Main CFD Forum 19 July 29, 2016 04:37
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM Running, Solving & CFD 17 December 3, 2014 20:41
convergence of density-based solver for unsteady flow zhengjg FLUENT 0 June 16, 2014 11:16
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM 0 April 4, 2010 19:06


All times are GMT -4. The time now is 09:41.