CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

how to write code in the forum?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 22, 2012, 13:13
Default how to write code in the forum?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
immortality is on a distinguished road
how can I put the code in its cde format in the thread?
thanks.
immortality is offline   Reply With Quote

Old   December 22, 2012, 14:46
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 294
Rep Power: 13
Lieven will become famous soon enough
What do you mean exactly with code format?

Code:
This is code
is written as
[CODE]This is code[/COD E]
(remove the space in '/COD E')

Regards,

L
Lieven is offline   Reply With Quote

Old   December 22, 2012, 15:34
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
immortality is on a distinguished road
thank you dear lieven.
I should write
Code:
 and
at sides of the code.right?is there another way to do this?
Thanks alot.
immortality is offline   Reply With Quote

Old   December 26, 2012, 05:42
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,889
Rep Power: 38
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
thank you dear lieven.
I should write
Code:
 and
at sides of the code.right?is there another way to do this?
No. If that is too much typing for you look for the #-symbol just above the editing area
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
COBRAS code novan tofany Main CFD Forum 0 October 8, 2012 05:40
New ANSYS forum structure, what do you think? Peter FLUENT 10 February 6, 2009 05:07
how to write a code or program for phoenics??????? Manjinder Phoenics 0 December 7, 2006 02:06
Open source CFD code development, possible? Dr. Yazid Bindar Main CFD Forum 27 July 18, 2000 01:18
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 15:34


All times are GMT -4. The time now is 22:20.