CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

Error using patchTool

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 26, 2007, 06:01
Default Hi all, when i want to visu
  #1
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 8
jackdaniels83 is on a distinguished road
Hi all,

when i want to visualize the mesh in patchTool after loading a few patches i get the following massage in the terminal:

java.lang.OutOfMemoryError

The model is about 1 GB and i have over 6 GB memory in my mashine.

Can someone tell me what is going wrong?

With best regards,

Daniel
jackdaniels83 is offline   Reply With Quote

Old   June 26, 2007, 14:49
Default Java needs prespecified the ma
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Java needs prespecified the maximum amount of memory it can take. Look at the patchTool script.

(and a warning: PatchTool is not very nice to use)
mattijs is offline   Reply With Quote

Old   June 27, 2007, 04:04
Default Thanks for your help. What too
  #3
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 8
jackdaniels83 is on a distinguished road
Thanks for your help. What tool do you use to extract single patches?

Daniel
jackdaniels83 is offline   Reply With Quote

Old   June 27, 2007, 04:44
Default I don't know where to look, ca
  #4
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 8
jackdaniels83 is on a distinguished road
I don't know where to look, can someone tell me where i can change the amount of memory used by patchTool? I am running it on a 64 bit OpenSuse 10.2 system, on the Ubuntu 32 bit system (same machine) i don't have the problem.

Daniel
jackdaniels83 is offline   Reply With Quote

Old   July 2, 2007, 08:00
Default Hi all, can someone please
  #5
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 8
jackdaniels83 is on a distinguished road
Hi all,

can someone please help me? Is there an other open source tool to create patches or how can i fix the problem with PatchTool and it's memory usage?

Regards,

Daniel
jackdaniels83 is offline   Reply With Quote

Old   July 3, 2007, 02:27
Default Hi Daniel, You may try to use
  #6
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hi Daniel,
You may try to use the autoPatch utility, and then rename the generated patches.

I found an old discussion at memory limit, and they show 2 options for the jvm... still seems there are problems. Basically one option is -Xmx4000m, and lets you allocate as much heap as you want (in this case I chose 4000MB).

Dragos
dmoroian is offline   Reply With Quote

Old   July 3, 2007, 04:58
Default Thanks for your reply. autoPat
  #7
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 8
jackdaniels83 is on a distinguished road
Thanks for your reply. autoPatch is to primitive, i'm using it together with patchTool, when i leave the patches created by autoPatch (with an angle of 60) i have around 100. At the other hand i have to group them to calculate forces on a group of patches.

I will try the memory limit thing.

Daniel
jackdaniels83 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PatchTool for OpenFOAM 15 mou_mi OpenFOAM Running, Solving & CFD 0 July 28, 2008 15:53
PatchTool name server problem hani OpenFOAM Mesh Utilities 12 June 3, 2008 13:46
Implement changes done in patchTool to FoamX davvan OpenFOAM Pre-Processing 0 May 29, 2008 04:54
Launching patchTool tibbstine OpenFOAM Mesh Utilities 6 May 23, 2007 05:38
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 08:48


All times are GMT -4. The time now is 18:06.