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

[mesh manipulation] createPatch: dumped objects

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2016, 06:20
Default createPatch: dumped objects
  #1
New Member
 
Join Date: Jan 2016
Posts: 7
Rep Power: 10
Perfectdark is on a distinguished road
Hi,

I'm wondering why createPatches always makes *.obj files in the case directory. What are they worth for and can I avoid them to be created?

Thanks in advance!
Perfectdark is offline   Reply With Quote

Old   April 18, 2016, 06:42
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

So far in my usage, I have not had createPatch dump out any *.obj files. Are you running your OF with any particular debug switches enabled?

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   April 18, 2016, 06:53
Default
  #3
New Member
 
Join Date: Jan 2016
Posts: 7
Rep Power: 10
Perfectdark is on a distinguished road
Not that I know of. Where do you turn on this kind of switches?

EDIT: I forgot to mention: I'm using OF 2.3.1

Last edited by Perfectdark; April 18, 2016 at 09:50.
Perfectdark is offline   Reply With Quote

Old   April 18, 2016, 10:46
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

The only thing remotely relevant that I could find among the DebugSwitches was one called "obj". But I really have no idea either if that is the actual one.
You could set it to zero in the controlDict, thereby providing an override and see if it solves your problem?

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   April 18, 2016, 10:57
Default
  #5
New Member
 
Join Date: Jan 2016
Posts: 7
Rep Power: 10
Perfectdark is on a distinguished road
where can I turn it on or off, this switch?

Edit: found it, just trying...

Edit2: makes no differnce whether turnd on or off.

Last edited by Perfectdark; April 19, 2016 at 02:23.
Perfectdark is offline   Reply With Quote

Old   April 19, 2016, 06:51
Default
  #6
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Hmmm. Your problem is definitely something that I haven't encountered either in 2.1 or 2.3 or 2.4.

Maybe it is a bug that is specific to 2.3.1? OF 2.3.0 that I used didn't have that issue.

On a related note, what is the exact command that you use (with flags etc)?

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   April 19, 2016, 07:11
Default
  #7
New Member
 
Join Date: Jan 2016
Posts: 7
Rep Power: 10
Perfectdark is on a distinguished road
I just run "createPatch -overwrite" with nothing else
Perfectdark is offline   Reply With Quote

Old   April 20, 2016, 02:26
Default
  #8
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
hi,

Got it! Your patch is of type "cyclic" isn't it?

If so, then it seems to be part of the createPatch process to write out .obj files. Look at the source code for createPatch and you will see what I mean (https://github.com/OpenFOAM/OpenFOAM.../createPatch.C)

Hope this clarifies.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   April 20, 2016, 03:20
Default
  #9
New Member
 
Join Date: Jan 2016
Posts: 7
Rep Power: 10
Perfectdark is on a distinguished road
You're right, I just figured it out myself. But I didn't found out yet for what this is worth. My case runs also without them, so I'd say this is just some sort of additional output to analyse the interface.
Perfectdark is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Floating Objects with 6DoF in OF 2.3.0 tyoung OpenFOAM Running, Solving & CFD 22 April 17, 2024 00:36
Multiple floating objects using InterDyMFoam and sixDoFRigidBodyMotion solver FloatingSolar OpenFOAM Running, Solving & CFD 4 December 29, 2020 11:09
There is a bug in createPatch? feno102 OpenFOAM Pre-Processing 6 November 1, 2017 02:24
Update FOAM objects after new solver run peterTr OpenFOAM Programming & Development 1 May 11, 2017 16:26
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01


All times are GMT -4. The time now is 10:34.