CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] Error using patchTool

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2007, 06:01
Default Error using patchTool
  #1
New Member
 
Join Date: Mar 2009
Posts: 20
Rep Power: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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: 17
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: 17
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: 17
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: 648
Rep Power: 20
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: 17
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


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
patchTool, is there a newer alternative? bigphil OpenFOAM Pre-Processing 4 October 19, 2009 07:56
PatchTool for OpenFOAM 15 mou_mi OpenFOAM Running, Solving & CFD 0 July 28, 2008 15:53
[mesh manipulation] PatchTool name server problem hani OpenFOAM Meshing & Mesh Conversion 12 June 3, 2008 13:46
Implement changes done in patchTool to FoamX davvan OpenFOAM Pre-Processing 0 May 29, 2008 04:54
[mesh manipulation] Launching patchTool tibbstine OpenFOAM Meshing & Mesh Conversion 6 May 23, 2007 05:38


All times are GMT -4. The time now is 03:59.