bug: AVWhitney (DG) Elemental data (cell data) -> Paraview

Clearly defined bug reports and their fixes
Post Reply
Takala
Posts: 186
Joined: 23 Aug 2009, 23:59

bug: AVWhitney (DG) Elemental data (cell data) -> Paraview

Post by Takala »

Hi,

I have tried to export cell data to Paraview from Elmer. The data is generated with AV Whitney module using the DG and elemental data.

This is what I use when I try to output with ResultOutput:

Code: Select all

Solver 5
  Exec Solver = after timestep
  Equation = "ResultOutput"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = refined
  Exec Solver = String "after timestep"	
  Vtu format = Logical true
  Scalar Field 1 = P
  Vector Field 1 = String "Magnetic Flux Density"
  Vector Field Elemental 1 = String "Magnetic Flux Density E"
End
That does not produce any elemental data into my output file (not in .ptvu nor in .vtu files). Thus I change it into this:

Code: Select all

Solver 5
  Exec Solver = after timestep
  Equation = "ResultOutput"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = refined
  Exec Solver = String "after timestep"	
  Vtu format = Logical true
  Scalar Field 1 = P
  Vector Field 1 = String "Magnetic Flux Density"
  Vector Field Elemental 2 = String "Magnetic Flux Density E"
End
Still I don't get the data in the .ptvu file but unlike previously I get something into the .vtu files which contain the data for the partitions. However, that too looks a bit distorted (see image). I have tried some other cases as well where I get clean data but always in the .vtu, and never in .ptvu. Now I cannot reproduce the clean data.

Could you please tell me if I do something wrong or if this is a bug?

Cheers,

Eelis
Attachments
distorted data
distorted data
kaappaus.png (80.84 KiB) Viewed 5920 times
raback
Site Admin
Posts: 4827
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: bug: AVWhitney (DG) Elemental data (cell data) -> Paraview

Post by raback »

Hi Eelis

I just tried to improve the logic a bit. Now the "... elemental .." keyword is obsolite. The code knows whether it is elemental or not. If fact the postprocessor solver for AV solver makes by default DG fields that are elemental. I also updated a case "mgdyn_bh" where the new logic works - and also the old one.

-Peter
Takala
Posts: 186
Joined: 23 Aug 2009, 23:59

Re: bug: AVWhitney (DG) Elemental data (cell data) -> Paraview

Post by Takala »

Thanks a lot Peter!

Now, when I use similar convention with the "ResultOutput" as you, I have the correct .ptvu file.

However, I still have those "blue triangles" in my result... I mean those in the pictures above. They are very strange: When I rotate the view of my result model, the position of those triangles change (with respect to the rotating model). Also, when I make a "slice" operation, they disappear. Probably, it is a problem with my Paraview configuration.

Anyway, many thanks for your help,

Eelis
PaulBass
Posts: 1
Joined: 10 Jan 2014, 09:49
Antispam: Yes

Re: bug: AVWhitney (DG) Elemental data (cell data) -> Paraview

Post by PaulBass »

Takala wrote:Hi,

I have tried to export cell data to Paraview from Elmer. The data is generated with AV Whitney module using the DG and solar panel data.

This is what I use when I try to output with ResultOutput:

Code: Select all

Solver 5
  Exec Solver = after timestep
  Equation = "ResultOutput"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = refined
  Exec Solver = String "after timestep"	
  Vtu format = Logical true
  Scalar Field 1 = P
  Vector Field 1 = String "Magnetic Flux Density"
  Vector Field Elemental 1 = String "Magnetic Flux Density E"
End
That does not produce any elemental data into my output file (not in .ptvu nor in .vtu files). Thus I change it into this:

Code: Select all

Solver 5
  Exec Solver = after timestep
  Equation = "ResultOutput"
  Procedure = "ResultOutputSolve" "ResultOutputSolver"
  Output File Name = refined
  Exec Solver = String "after timestep"	
  Vtu format = Logical true
  Scalar Field 1 = P
  Vector Field 1 = String "Magnetic Flux Density"
  Vector Field Elemental 2 = String "Magnetic Flux Density E"
End
Still I don't get the data in the .ptvu file but unlike previously I get something into the .vtu files which contain the data for the partitions. However, that too looks a bit distorted (see image). I have tried some other cases as well where I get clean data but always in the .vtu, and never in .ptvu. Now I cannot reproduce the clean data.

Could you please tell me if I do something wrong or if this is a bug?

Cheers,

Eelis
Were you able to find our the right logic.. I am facing similar bug so can you help me in sorting it out? Waiting for reply thanks in advance:)
Post Reply