CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2013, 17:42
Default
  #21
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Bravo Bruno!
it works fine now.but I have trouble with saving it.when I save state and exit from paraView and then start it and use load state another file with the same name appear in biltin part in paraView and filds became disappear! and doesn't work correctly.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 18, 2013, 17:52
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Before opening ParaView, run:
Code:
paraFoam -touch
__________________

Last edited by wyldckat; August 19, 2013 at 09:49. Reason: it's "-touch", not "-builtin"
wyldckat is offline   Reply With Quote

Old   August 19, 2013, 08:33
Default
  #23
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Hi Bruno
this type of error occurs again when save and load state:
Code:
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x2cff1b0): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/T: Expected number, string or (, found Temperature


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x2cff1b0): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/U: Expected number, string or (, found Velocity


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x2cff1b0): Error reading line 20 of /home/ehsan/Desktop/WR_3/0/k: Expected number, string or (, found turbulentK


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x2cff1b0): Error reading line 20 of /home/ehsan/Desktop/WR_3/0/omega: Expected number, string or (, found turbulentOmega


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x2cff1b0): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/p: Expected number, string or (, found Pressure


Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x245ee40): Error reading line 33568 of /home/ehsan/Desktop/WR_3/5e-06/ddt0(rhoU).gz: Inflation failed: 


Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 19, 2013, 10:10
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ehsan,

Sorry, apparently last night I was a bit tired already and I didn't notice that I wrote "-builtin" instead of "-touch". I've corrected the previous post.

OK, to avoid future problems with the state files, I suggest that you follow this procedure:
  1. On each one of your cases, create 2 dummy files, one for each type of plug-in:
    Code:
    touch case.foam
    touch case.OpenFOAM
    The name itself doesn't matter much, what matters is the extension (".foam" or ".OpenFOAM") and that the name is the same for all of your cases.
  2. Instead of running paraFoam, run paraview:
    Code:
    paraview
  3. Now, open the file you want to use in ParaView, either "case.foam" or "case.OpenFOAM".
  4. Then configure things to your needs, such as: which fields to load, scales, legends, colours and so on.
  5. Now, before saving the state file, make sure that you are at the time instance "0".
  6. Save the state file inside the case folder.
  7. You can now repeat the same for the other file, namely "case.foam" or "case.OpenFOAM".
  8. Once you have the desired state files well saved, you should always use the paraview command to start ParaView and to have the "case.*" and state files inside each case.
    • Keep in mind that when a state file is opened, it's hard-coded to open the case file located at the full path, not the relative path. The reason why I say that you should save the state file inside the respective case, is to make it a bit easier to locate the "case.*" files.
    • With this methodology, you should be able to re-use the same state file and "case.*" files on any case.
Best regards,
Bruno
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 05:33
Default
  #25
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
why when paraview is making images for animation,it abruptly closes itself and making animations discontinues?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 06:18
Default
  #26
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
what does this error(warning) means?
Code:
Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'

Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 06:35
Default
  #27
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
when above error is shown,the maximums in images are saved wrong,
in attachments KE.0116.jpg is saved by the python script and 116 is screenshot.
----------------------------------
then troubles are these:
1) paraFoam doesn't act good with extremes of variables,means legends are in 0,1 region
2)because of 1,I open cases by paraview -dr as dear Bruno mentioned somewhere,
3)in one case,when it reaches to a middle time,paraview suddenly closes (during saving animation),
4)in other case,paraview doesn't save correct values in ranges for maximum in saving animation
Attached Images
File Type: jpg KE.0116.jpg (39.9 KB, 14 views)
File Type: jpg 116.jpg (17.0 KB, 12 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 07:54
Default
  #28
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ehsan,

Quote:
Originally Posted by immortality View Post
why when paraview is making images for animation,it abruptly closes itself and making animations discontinues?
That seems to be related to this: http://www.cfd-online.com/Forums/ope...animation.html
Use the command top in a new terminal, to confirm if the memory occupied by ParaView keeps rising. Or use "System Tools -> System Monitor" instead of top.

Quote:
Originally Posted by immortality View Post
what does this error(warning) means?
Code:
Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "<string>", line 7, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
I guess it's because you didn't configure properly the script used for updating the ranges. But since you didn't give a proper description of what you've done to get that error, I can only guess.

Quote:
Originally Posted by immortality View Post
when above error is shown,the maximums in images are saved wrong,
in attachments KE.0116.jpg is saved by the python script and 116 is screenshot.
----------------------------------
then troubles are these:
1) paraFoam doesn't act good with extremes of variables,means legends are in 0,1 region
2)because of 1,I open cases by paraview -dr as dear Bruno mentioned somewhere,
3)in one case,when it reaches to a middle time,paraview suddenly closes (during saving animation),
4)in other case,paraview doesn't save correct values in ranges for maximum in saving animation
2) You probably saw it here: http://www.cfd-online.com/Forums/ope...esnt-work.html

3) Explained in the first paragraph of this post I'm writing.

4) Uh... the answer after the 2nd quote?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 11:46
Default
  #29
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Quote:
That seems to be related to this: Paraview 3.12 memory allocation problem while saving animation
Use the command top in a new terminal, to confirm if the memory occupied by ParaView keeps rising. Or use "System Tools -> System Monitor" instead of top.
it only occupies 50% of memory but closes abruptly.
Quote:
I guess it's because you didn't configure properly the script used for updating the ranges. But since you didn't give a proper description of what you've done to get that error, I can only guess.
I did what you had told

--------------

forgot to attach system Monitor.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 12:09
Default
  #30
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
But how exactly did the memory occupancy by ParaView evolve along the animation?

And no, you didn't attach the image of the System Monitor
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 12:39
Default
  #31
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
forgot to attach system Monitor.
Attached Images
File Type: jpg Screenshot at 2013-09-14 20:09:31.jpg (68.0 KB, 8 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 12:46
Default
  #32
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Bruno something occupies the memory when paraview's are closed!
how can find out what it is?
it hardly attaches.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 12:54
Default
  #33
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Have you looked in the "Processes" tab on the "System Monitor"?
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 16:24
Default
  #34
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
a corrupted pidgin run had occupied the memory.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 15, 2013, 04:18
Default
  #35
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
dear Bruno Hi,
I added this code according to what you said and I had done before also,
Code:
from paraview.simple import *

def start_cue(self): pass

def tick(self):
    source = FindSource("WR_4.OpenFOAM")
    #This works on ParaView 4.0.1
    source.UpdatePipeline(self.GetAnimationTime())

    #This works on ParaView 3.12.0
    #source.UpdatePipeline(GetAnimationScene().TimeKeeper.Time)
    

    #The array and number of components
    #arrayName = "p"
    #arrayComponents = 1
    #component = -1
    #options for component: -1, 0, 1 and 2 => Mag, X, Y, Z

    # If it's a scalar field
    arrayName = "p"
    arrayComponents = 1
    component = 0

    #Get the look-up table for this array
    lookupTable = GetLookupTableForArray(arrayName, arrayComponents)

    #get the access to the cellData or pointData
    #data = source.GetCellDataInformation()
    data = source.GetPointDataInformation()

    #get the array and the respective min-max
    array = data.GetArray(arrayName)
    dataRange = array.GetRange(component)

    lookupTable.LockScalarRange = 1

    #Now let's hack in the range values
    lookupTable.RGBPoints[0] = dataRange[0] #min
    lookupTable.RGBPoints[4] = dataRange[1] #max


def end_cue(self): pass
but this is the error:
Code:
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 9, in tick
AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
you know that I now use 4.0.1 version,is there any other changes other than what you mentioned in post #6 I have to do to solve the issue?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 15, 2013, 05:02
Default
  #36
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ehsan,

Is the case file actually named "WR_4.OpenFOAM"? Because that error message implies that it is not.

Best regards,
Bruno
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 15, 2013, 06:03
Default
  #37
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
no its name is case.foam,I'm mixed up with names!
is the folder name important too?
I have to make a file with name: case.foam and open it after running "paraFoam4"?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 15, 2013, 06:10
Default
  #38
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
The name and folder are not relevant to this filter. All that matters is the name you gave to it in the "Pipeline Browser" (yes, you can rename the entries there as well!).

This is because this instruction:
Code:
FindSource("WR_4.OpenFOAM")
searches the items on said "Pipeline Browser" for the name indicated.
__________________
wyldckat is offline   Reply With Quote

Old   September 15, 2013, 06:32
Default
  #39
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Bruno I made a file named case.foam in the case folder and used paraFoam4 command as you said me,copy the python code and take animations but the maximums are not correct,they don't match to real local maximum values and another issue is that again " Automatic Color scaling" doesn't work and scale bar doesn't change
Attached Images
File Type: jpg Screenshot at 2013-09-15 15:00:43.jpg (53.6 KB, 7 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 15, 2013, 06:54
Default
  #40
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Bruno I closed that and open a new paraview and rescaling problem is resolved,I worry if I add the python code it occurs again! it was working fine before,why it has became so?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply

Tags
paraview, rescale to data range


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Data Export (ascii format) A Kourm FLUENT 4 March 7, 2021 14:08
Issue Writing Out Surface Data rufuscws89 Tecplot 1 May 6, 2019 13:52
Parallel Block Size Issue ChiefSeaBiscuit CONVERGE 5 July 22, 2016 14:03
[OpenFOAM] Automatic range in paraview animations arno ParaView 1 August 29, 2006 04:00
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


All times are GMT -4. The time now is 16:52.