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

Allclean deletes blockMeshDict file!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 2, 2011, 10:23
Default Allclean deletes blockMeshDict file!
  #1
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 307
Rep Power: 9
musahossein is on a distinguished road
Dear all:

I am running OpenFOAM on Ubuntu 11.10. I modfied the blockmeshDict.m4 file in sloshingtank2D and saved it as blockmeshDict and modified the Allrun file accordingly. All works well. But strangely, when I do Allclean, it not only deletes the files it is supposed to delete, but also deletes the modified blockmeshDict file! is this bizzare behaviour a legacy of Ubuntu or the new OpenFOAM? Help!
musahossein is offline   Reply With Quote

Old   March 17, 2013, 18:56
Default how to disable blockmesh.m4 in openfoam 2.2.0
  #2
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 307
Rep Power: 9
musahossein is on a distinguished road
Hi:
I need to disable the blockmesh.m4 file as I want to run my blockmesh file. However, interdymfoam keeps looking for the blockmesh.m4 and ignores the blockmesh that I have. Any solution to this will be greatly appreciated, thanks.

Also, Allclean wipes out the contents of the blockmesh file. How can this be prevented? I am running Openfoam 2.2.0 on Ubuntu 12.10.

Thanks!
musahossein is offline   Reply With Quote

Old   March 18, 2013, 18:17
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings musahossein,

Allclean is removing the "blockMeshDict" file automatically because "constant/polyMesh/blockMeshDict.m4" also exists. Try moving the file to another folder and adjust the Allrun script to run use m4 with the new location, but also sending the generated file into the correct location "constant/polyMesh/blockMeshDict".

To help explain further, it would help to know which tutorial case you are referring to!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 18, 2013, 20:41
Default
  #4
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 307
Rep Power: 9
musahossein is on a distinguished road
Thankyou. I realized that right after posting that question and felt quite foolish. Thanks again for your effort.
musahossein is offline   Reply With Quote

Old   March 18, 2013, 20:46
Default Wall pressure is now in Post processing?
  #5
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 307
Rep Power: 9
musahossein is on a distinguished road
Dear all:
I am running OpenFoam 2.2.0 on Ubuntu 12.10. I am running sloshingTank2D. I noted that wall pressures are now being stored under post processing folder. Is this just to organize the output files in a meaningful way, or is there a more compelling reason. Just curious.
musahossein is offline   Reply With Quote

Old   March 28, 2013, 21:39
Default Cant seem to change the write times for wall pressure p and phase files in slosingtan
  #6
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 307
Rep Power: 9
musahossein is on a distinguished road
I have another question. If I run the sloshingTank2D in interDyMFoam, the wall pressures are output to the post processing file. The files are printed at intervals of 0.1, 0.2 etc. I however want the output at 0.02, 0.04 etc. I modfied the writeInterval in the controlDict file at 0.02. However the output is still 0.1, 0.2, i.e. unchanged. How can I modify control dict so that the files are written at 0.02, 0.04 etc?
Thanks
musahossein is offline   Reply With Quote

Old   April 1, 2013, 08:26
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Musaddeque,

I've moved your posts on the last couple of questions to this thread: No Wall pressure from OpenFOAM 2.2.0 try to answer your questions on that thread as soon as I can.

Best regards,
Bruno
wyldckat 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
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 39 July 1, 2014 07:55
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43


All times are GMT -4. The time now is 09:56.