|
[Sponsors] |
March 31, 2017, 10:40 |
creating an unsteady coupled solver
|
#1 |
Senior Member
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 16 |
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) 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 |
|
Tags |
foam-extend-4.0, pucoupledfoam, unsteady |
|
|
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 |