Page 1 of 2

how to use Pulverized coal combustion module by using GUI.

Posted: Wed Apr 25, 2012 11:22 pm
by nofrizal
Hello,

I am using this for my undergraduate final year project but so far without success.

Can you direct me, please, to use this module ?

I am very glad if can give me some of the tutorials.

I use the version 2.0.2

Thanks

Re: how to use Pulverized coal combustion module by using GU

Posted: Fri Apr 27, 2012 10:21 am
by nofrizal
sorry, maybe i am too general before.

Actually i tried to follow the test case which is from this link

http://cfd.mace.manchester.ac.uk/twiki/ ... e056Res000

But, i got the error which as below

SIGFPE signal (floating point exception) intercepted!

Call stack:
1: 0x7f3e003fb583 <cpflux_+0xc5b> (libsaturne.so.0)
2: 0x7f3e003465c6 <scalai_+0x4e6> (libsaturne.so.0)
3: 0x7f3e0035f9e1 <tridim_+0xde71> (libsaturne.so.0)
4: 0x7f3e0018f875 <caltri_+0x5085> (libsaturne.so.0)
5: 0x7f3e0016a9e3 <cs_run+0x843> (libsaturne.so.0)
6: 0x7f3e0016acc5 <main+0x1f5> (libsaturne.so.0)
7: 0x7f3dfc909c4d <__libc_start_main+0xfd> (libc.so.6)
8: 0x40a359 <> (cs_solver)
End of stack

Then, when i turn on the particle and droplets tracking the error result as below

/opt/saturne-2.0.2/installer/ncs-2.0.2/src/base/cs_gui_util.c:991: Fatal error.

Invalid attribute value:
Xpath: /Code_Saturne_GUI/lagrangian/output/coal_temperature/@status



Call stack:
1: 0x7fc5cf9c2011 <cs_gui_get_status+0xd1> (libsaturne.so.0)
2: 0x7fc5cf9b95c0 <+0xa25c0> (libsaturne.so.0)
3: 0x7fc5cf9ba231 <uilag1_+0x9c1> (libsaturne.so.0)
4: 0x7fc5cfc6504b <lagopt_+0x85b> (libsaturne.so.0)
5: 0x7fc5cfab7035 <initi1_+0x41> (libsaturne.so.0)
6: 0x7fc5cf93e248 <cs_run+0xa8> (libsaturne.so.0)
7: 0x7fc5cf93ecc5 <main+0x1f5> (libsaturne.so.0)
8: 0x7fc5cc0ddc4d <__libc_start_main+0xfd> (libc.so.6)
9: 0x40a359 <> (cs_solver)
End of stack

hope somebody will direct and help me.

Re: how to use Pulverized coal combustion module by using GU

Posted: Fri Apr 27, 2012 12:59 pm
by Yvan Fournier
Hello,

SIGFPE usually happens either when there is a division by zero somewhere, or if the calculation diverges.

Did you rebuild the data setup from scratch using the case's description, or did you use a previous setup for an older version of the code ?

The former approach is recommended, not the second, and the pulverized coal version is probably a bit more fragile than the core code in this regard. Also, if you add then remove scalar variables (or species for cumbustion) using the GUI, you may run into issues, so it is safer to only add species, and redo the setup from scratch if you need less than what you have already defined (improving this would require quite a few changes to the way this is handled).

Best regards,

Yvan

Re: how to use Pulverized coal combustion module by using GU

Posted: Mon Apr 30, 2012 9:55 am
by nofrizal
hello,

Yes, I have rebuilt the data from scratch and simplified the geometry by using Salome.

I used the data from that test case but i couldn't find the "add species" that you mentioned. And i am also not sure with some of the parameters which are

1) Pulverized coal combustion

I have only enter the data for initial diameter for coal, coal prop., devolatilisation and heterogeneous combustion (O2 parameter only)

2) Additional scalar & Volume condition

Did i need to add any and what is it for??

3) Particles and droplets tracking

i just use the default input.

4) Boundary Condition

For the inlet boundary condition, flow and temperature for oxydant (8 kg/s and 1273.15K) and coal (1 kg/s and 320K). For the wall and outlet are default.

5) Numerical parameters

For time steps, i have used variable in time and in space. The ref. time steps is 0.001 and the number of iteration is 10. The rest is remain as default.

6) Calculation management

I have set up user array and memory management with 7M array size for integer array and also real array.


For details please refer to file as attached (comb1.txt). With this input parameters i run code saturne batch job but still get this error

/opt/saturne-2.0.2/installer/ncs-2.0.2/src/base/cs_gui_util.c:991: Fatal error.

Invalid attribute value:
Xpath: /Code_Saturne_GUI/lagrangian/output/coal_temperature/@status



Call stack:
1: 0x7f0812b12011 <cs_gui_get_status+0xd1> (libsaturne.so.0)
2: 0x7f0812b095c0 <+0xa25c0> (libsaturne.so.0)
3: 0x7f0812b0a231 <uilag1_+0x9c1> (libsaturne.so.0)
4: 0x7f0812db504b <lagopt_+0x85b> (libsaturne.so.0)
5: 0x7f0812c07035 <initi1_+0x41> (libsaturne.so.0)
6: 0x7f0812a8e248 <cs_run+0xa8> (libsaturne.so.0)
7: 0x7f0812a8ecc5 <main+0x1f5> (libsaturne.so.0)
8: 0x7f080f22dc4d <__libc_start_main+0xfd> (libc.so.6)
9: 0x40a359 <> (cs_solver)
End of stack


Since this forum does not allow the xml file upload, so i have rename it with .txt
Please delete the .txt from the attached file so that you can open it by GUI.

thanks,
nofrizal

Re: how to use Pulverized coal combustion module by using GU

Posted: Mon Apr 30, 2012 9:46 pm
by Yvan Fournier
Hello,

You probably have a dp_FCP or dp_* file in DATA (next to comb1.xml). If you post that file in addition to the mesh, I can test your case to see if I reproduce the error.

Also, I would recommend upgrading from 2.0.2 to 2.0.5, as there are a few bug fixes, some of which may slightly affect combustion.

Best regards,

Yvan

Re: how to use Pulverized coal combustion module by using GU

Posted: Wed May 02, 2012 6:07 am
by nofrizal
Hello,

I attached the dp and burner meshing file but you need to delete (.txt) again.
I will consider your recommendation but i don't know how to upgrade it...

thank you very much for your willing to help me.


regards,

nofrizal

Re: how to use Pulverized coal combustion module by using GU

Posted: Wed May 02, 2012 10:44 pm
by Yvan Fournier
Hello,

I tested your case, and reproduced the error, which is due to some output options not being st by the GUI. To avoid this, you need to visit the "Particles and droplets tracking/Output" tab in the GUI before saving the file.

This solves the bug, but you the obtain an error message inidcating that your choice of time step (variable in time and space, which is actually a form of steady-state algorithm) is not compatible with the Lagragian module (which requires a purely transient calculation).

I did not check if a variable in time only time step (with a CFL target) is allowed, or if you need a constant time step, so I'll let you continue on this.

Also, obtaining an incomplete xml file due to not visiting a page with the GUI is a recurring issue, and in this case, it might be a bug, but this will probably only be fixed in future versions (2.3 or 3.0), not in 2.0 patch releases, so visiting all pages is a good precaution.

Best regards,

Yvan

Re: how to use Pulverized coal combustion module by using GU

Posted: Thu May 03, 2012 7:51 am
by nofrizal
Hello,

I already visit one by one on that parameter and change the time step to the uniform and constant but still got this error

/opt/saturne-2.0.2/installer/ncs-2.0.2/src/base/cs_gui_util.c:991: Fatal error.

Invalid attribute value:
Xpath: /Code_Saturne_GUI/lagrangian/output/coal_temperature/@status



Call stack:
1: 0x7f2431fd7011 <cs_gui_get_status+0xd1> (libsaturne.so.0)
2: 0x7f2431fce5c0 <+0xa25c0> (libsaturne.so.0)
3: 0x7f2431fcf231 <uilag1_+0x9c1> (libsaturne.so.0)
4: 0x7f243227a04b <lagopt_+0x85b> (libsaturne.so.0)
5: 0x7f24320cc035 <initi1_+0x41> (libsaturne.so.0)
6: 0x7f2431f53248 <cs_run+0xa8> (libsaturne.so.0)
7: 0x7f2431f53cc5 <main+0x1f5> (libsaturne.so.0)
8: 0x7f242e6f2c4d <__libc_start_main+0xfd> (libc.so.6)
9: 0x40a359 <> (cs_solver)
End of stack

i also not sure whether my mistake in combustion setting (coal, devolatilaisation etc) or computational (time step,relaxation etc).

if you have your own Pulverized coal combustion working case example, could you kindly share it with me?

best regards,
Nofrizal

Re: how to use Pulverized coal combustion module by using GU

Posted: Thu May 03, 2012 8:40 am
by Yvan Fournier
Hello,

This is the same type of bug as before. The simplest solution to work around this is to edit the XML file with a text editor, search for the line with "coal_temperature", and set the status value at the end of the line (see neighboring lines for the syntax).

After that, you'll get the other, "more interesting" issues (physics, option compatibility, ...).

Best regards,

Yvan

Re: how to use Pulverized coal combustion module by using GU

Posted: Mon May 07, 2012 9:44 am
by nofrizal
Hello,

i have already done what you asked and modified my xml file as attached.
But still cannot run and come out with the same floating point error.

your further help is so much appreciated.

regards,

Nofrizal