Re: Integrating field

2012-11-29 Thread Jonathan Guyer
On Nov 29, 2012, at 10:49 AM, Adrian Jacobo wrote: > Hi, > > Thank you for your answer. >>> I'm solving an equation in 3d and I need to calculate the integral of the >>> field. What is the most convenient/fast way of doing this? >> >> int = var.cellVolumeAverage * var.mesh.numberOfCells > Ju

Re: Integrating field

2012-11-29 Thread Adrian Jacobo
Hi, Thank you for your answer. >> I'm solving an equation in 3d and I need to calculate the integral of the >> field. What is the most convenient/fast way of doing this? > > int = var.cellVolumeAverage * var.mesh.numberOfCells Just to clarify, as it might be useful for somebody else, this ex

Re: Integrating field

2012-11-29 Thread Jonathan Guyer
On Nov 28, 2012, at 5:15 PM, Adrian Jacobo wrote: > I'm solving an equation in 3d and I need to calculate the integral of the > field. What is the most convenient/fast way of doing this? int = var.cellVolumeAverage * var.mesh.numberOfCells > A related question: how can I access individual