1 (edited by disco_stue_222 02-04-2007 12:50:42)

Topic: Oofeg

Hi Group,

are there any documentation for oofeg.

thankx

disco

Additional:
i get an errormessage from oofeg :
hiller@linux85 /fs1/hiller/OOFem/Modelle/Test1 $> oofeg17
____________________________________________________
           OOFEM - Finite Element Solver
        Copyright (C) 1994-2006 Borek Patzak
____________________________________________________
please enter the name of the input data file :
test1_5elm.out
_______________________________________________________
Warning: (oofemtxtinputrecord.C:326)
Unread token(s) detected in the following record
"       ####    ####   ######  ######  #  ...":
[####] [######] [######] [#] [#]
_______________________________________________________
# : unknown EngngModel type

what is the problem???

2

Re: Oofeg

Hi Disco,

Unfortunately, the oofeg manual does not exist yet. But I have written some time ago at least the oofeg.readme, which explains  basic usage. Hopefully, it will provide the basic answers.
In your example, which is quite coarse, I recommend to visualize non-smoothed local data instead of smoothed ones (the defaults). You can change this by selecting  <Variable plot> - <Data Mode> - "local values". This will become clear after reading oofeg.redme, which  follows:

==========
oofeg.readme:
==========
To run oofeg (graphic post-processor), you need job context file
(created by oofem with -c command-line option, for example).
To run oofeg, enter

oofeg -f input_file_name


If You have run ./configure with --with-oofeg-devel-interface, then
relevant FE submenu(s) are in <Custom> menu. If configure script was
run without --with-oofeg-devel-interface (this is the default) then
relevant FE menus will show directly.

FE menu description:

<view> - allows to manipulate views and corresponding options
   <Frame> - allows to open/close new visualization window
   <Render> - allows to set rendering options for views.
   Axes - allows to switch on/off axes in view
   <Bg Color> - allows to set background color in view
   <Color Scale> manipulates color scale(s)
   Status - switch on/off displaying status line

<active Step> - allows to select particular time step for visualization
    <Layer update> - selects layers, that are automatically updated
                     when new step is read
    <Seek Step> - seeks particular solution step (by number)
    Next step - moves to next step
    Prev Step -  moves to previous step

<Mesh plot> - allows to display geometry of FE model
    Geom plot - displays geometry
   <DofMan Plot> - displays nodes

<Deformations> - allows to display deformed shape, you can
                 set scale in this submenu or make oofeg to adjust
                 scale automatically (auto-scale)

<Variable plot> - allows to visualize internal variables
    <Data Mode> - allows to select recovered or local values
    <Plot algor> - allows to select type of visualization
    <Scalar Plot> - allows to visualize scalar components,
                    just select the component you want to visualize
    <Vector Plot> - same for vectors

<Filters> - allows to plot/visualize only certain parts of structure,
          based on element or material id.
    <Material Region Filter> - Sets filter based on material id
    <Element filter> - set filter based on element numbers

<Layers> - allows to switch on/off certain layers. After selecting
layers, press apply and select the views, by pressing right-mouse
button inside each, then terminate selection by pressing left-mouse button.

So simple way to start is to run oofem with -c option, this will
create *.osf files for each solution step.
Then run oofeg -f input_file_name, Select <Plot-Geom Plot> and you
will see geometry. If not press Shift and middle mouse button in the
viewing window (to fit the zoom).

To visualize some result, you have to seek some solution step
(Custom-ActiveStep-Seek Step) and then select variable(s).

There are few useful oofeg key-bindings (displayed in status window
when active):

Fast viewing

B1            =  window
Ctrl B1       =  pan
Ctrl B2       =  zoom
Shift B2      =  fit all (only active drawing window will be affected)
Ctrl Shift B1 =  rotate
B3            =  done

Selection

B1            =  select
Ctrl B1       =  select window
Shift B1      =  select nearest point
                 (confirm by B1 or select next one by Shift B1)
B2            =  accept
B3            =  reject


Please watch status window of OOFEG, which will show up some useful
key bindings for certain operations.

Hope that this will help. You have to little bit experiment.
Also not all options are supported by all elements, etc.

Borek

Re: Oofeg

Dear Borek,

I have done an XFEM simulation and have got the .out file for it, but when I try to open it using the OOFEG I get the exact same error mesage that has been reported by Disco.
I did the same thing but this time for the .in file and I could see the mesh as well as the discontinuity geometry. but none of the contour plots could be shown.

Could you please help me out here?

Kind regards
Morad

4

Re: Oofeg

Hi Morad,

oofeg requires *.osf files to be produced by oofem. This can be most easily achieved by adding "-c" option, when running oofem. For more info on oofeg and its use, see corresponding wiki page (http://www.oofem.org/wiki/doku.php?id=oofeg).
In case of any problem, let me know.

Borek

Re: Oofeg

Dear Borek,

I did what you told me to and did run the simulation with -c option however it still doesn't work
This is what I get as soon as I click next step

[mk1308@memk1308 bin]$ ./oofeg -f ./xfem2.in
____________________________________________________
           OOFEM - Finite Element Solver           
        Copyright (C) 1994-2009 Borek Patzak       
____________________________________________________
Total number of solution steps 1
Instanciating domain                1
Instanciated nodes & sides        441
Instanciated elements             400
Instanciated cross sections         1
Instanciated materials              2
Instanciated BCs                    2
Instanciated ICs                    0
Instanciated load-time fncts        1
Circle: FloatArray of size : 2
3.000e+01   3.000e+01 

ConnectivityTable: initializing
Consistency check                  ok
(Deleting layer 0 ...0/0) done
Restoring context for tStep 1.0
_______________________________________________________
Error: (/home/mk1308/homedir/oofem/trunk/src/oofemlib/femcmpnn.C:95)
ContextIOERR encountered, error code: 1
_______________________________________________________
Total 1 error(s) and 0 warning(s) reported
oofem exit code 1


Kind regards
Morad

6

Re: Oofeg

Hi Morad,

I get it. I have two points:
1) The procedure I have described (oofem -c + oofeg)  works in general, but is not yet fully supported for xfem part code (it will come soon).
2) But there is a simple work around: reconfigure oofeg (use --enable-oofeg-devel-interface option when configuring oofeg target), clean oofeg target (make clean) and recompile it. Start oofeg with your input file (the interface is slightly different, you can find all items you get used in custom menu). The devel interface allows to perform analysis within oofeg directly and visualize results immediately. And this works for xfem. So start oofeg with your input file, select custom->debug->run_job, the analysis will be performed (one step) and you can immediately display results. For the xfem example you are using, I would recommend to visualize raw result (without smoothing) by selecting custom->variablePlot->data_mode->Local Values.

Let me know,
Borek

Re: Oofeg

Hi Borek,

I followed your instructions (second option) and managed to install the devel interface. However, I am facing a new problem now. It goes smoothly until I try to do the following selection:
    custom->variablePlot->data_mode->Local Values
This command results in the following error: Invalid delta in ColorSetupFringeTableByMinMax
and after this when I tried to plot the equivalent strain the programme crashed with this error:
    Invalid delta in ColorSetupFringeTableByMinMax
    (Deleting layer 4 ...0/0) done
    Segmentation fault

Thanks
Morad

8

Re: Oofeg

Hi Morad,

I tried and I can confirm, that I can get the same error for equivalent strain. I will fix the bug soon, sorry for the inconvenience.  However, it works for individual strain and stress  components. I have also forgotten to point out, that the default rendering mode is wire frame. To see the contours, change the rendering mode to normal (custom->view->render->normal + mouse left button click on the view window).
Borek

Re: Oofeg

bp wrote:

Hi Morad,

oofeg requires *.osf files to be produced by oofem. This can be most easily achieved by adding "-c" option, when running oofem. For more info on oofeg and its use, see corresponding wiki page (http://www.oofem.org/wiki/doku.php?id=oofeg).
In case of any problem, let me know.

Borek

Thanks for the link, I'll check this out.

Re: Oofeg

Dear Borek

Thanks a lot, I managed to install the oofeg and use it with XFEM.

Kind regards
Morad