|
[Sponsors] |
Circular initial condition on a cartesian mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2008, 08:35 |
Circular initial condition on a cartesian mesh
|
#1 |
Guest
Posts: n/a
|
I am using the smoothed heaviside function to impose the circular I.C. on a cartesian mesh. There are a little stair-case effects in simulations. Could anyone advice me to prevent unphysical stair-case effects(zig-zag) in the case where a circular I.C. is embedded on a cartesian mesh?
|
|
March 28, 2008, 11:54 |
Re: Circular initial condition on a cartesian mesh
|
#2 |
Guest
Posts: n/a
|
If you are using a finite volume method, you should set the IC using cell averages of the initial condition. THat is the correct thing to do and will give you a better representation of the IC. FOr other schemes I dont know.
|
|
March 28, 2008, 12:19 |
Re: Circular initial condition on a cartesian mesh
|
#3 |
Guest
Posts: n/a
|
Could you tell me how to use cell averages of the initial condition? I am confusion of that term. Thanks in advance!
|
|
March 28, 2008, 12:30 |
Re: Circular initial condition on a cartesian mesh
|
#4 |
Guest
Posts: n/a
|
For any conserved quantity u(x,y,z) compute cell average for cell c as
U_c = Integral_over_c u(x,y,z) dx dy dz / volume(c) and use this as initial condition in cell c. If initial condition is a simple function, then try to compute the integral analytically. Otherwise use some quadrature rule. |
|
March 29, 2008, 09:38 |
Re: Circular initial condition on a cartesian mesh
|
#5 |
Guest
Posts: n/a
|
As you mentioned as "If initial condition is a simple function, then try to compute the integral analytically", the initial condition in my cases is simple. I do not understand how to compute the integral analytically. Could you teach me how to do? Thanks for your help.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | Alan | OpenFOAM Running, Solving & CFD | 11 | July 1, 2021 22:51 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
Low Mach number Compressible jet flow using LES | ankgupta8um | OpenFOAM Running, Solving & CFD | 7 | January 15, 2011 14:38 |
MRFSimpleFOAM goes divergenced! | renyun0511 | OpenFOAM Running, Solving & CFD | 0 | November 19, 2009 03:11 |