Donald Trump has been criticised for marvelling at crowd sizes and not meeting with victims of Hurricane Harvey during his brief trip to Texas.

While the administration is said to be working well with state authorities to deal with the crisis caused by Harvey, critics say Mr Trump failed at fulfilling his unofficial role as ‘consoler-in-chief’ when he flew to Texas to meet with state officials and disaster response coordinators.

David Axelrod, who served as a senior adviser to former President Barack Obama, wrote in a commentary for CNN that one of the unwritten jobs of the President is to offer support and encouragement to fellow citizens on behalf of a concerned nation during times of crisis.

“Startlingly, [Mr Trump] did not utter one syllable about those who have lost their lives, their homes or businesses in the floods that are still swelling over southeast Texas, overwhelming the heroic first responders and volunteers who are straining to meet its demands,” Mr Axelrod wrote.

He added that Mr Trump “had no solace for the tens of thousands of evacuees, some of whom were separated from their families in the storm and are now warehoused in arenas, left to wonder what comes next.”

As Houston continued to be slammed by remnants of Harvey, Mr Trump on Tuesday was quick to praise the efforts of those on the ground during a visit to Corpus Christi – one of the cities near the coast that also faced the brunt of the storm. He visited Austin later in the day.

Harvey, which was downgraded from a hurricane to a tropical storm over the weekend, has brought unprecedented and catastrophic flooding to the southeastern region of Texas.

The presidential entourage avoided Houston and the surrounding area, where the vast majority of the more than 17,000 people who had sought shelter were gathered. The White House was keen to stress that Mr Trump wanted to be “very cautious” to not disrupt recovery efforts.

When standing in front of a crowd outside a Corpus Christi fire station, Mr Trump said, “Thank you,” to applause. “We love you, you are special, we are here to take care of you. It’s going well.”

“What a crowd, what a turnout,” he called out to the people gathered.

Twitter users and political pundits mocked Mr Trump for fixating on the size of a crowd – “of people thrown out of their homes by a natural disaster”, asserted Jennifer Rubin, a conservative blogger for the Washington Post.

The aftermath of Hurricane Harvey Show all 19 1 /19 The aftermath of Hurricane Harvey The aftermath of Hurricane Harvey A tattered U.S. flag damaged in Hurricane Harvey, flies in Conroe, Texas Reuters The aftermath of Hurricane Harvey Lisa Rehr holds her four-year old son Maximus, after they lost their home to Hurricane Harvey, as they await to be evacuated with their belongings from Rockport, Texas Reuters The aftermath of Hurricane Harvey People line up for food as others rest at the George R. Brown Convention Center AP Photo/LM Otero The aftermath of Hurricane Harvey Volunteers with The American Red Cross register evacuees at the George R. Brown Convention Center Reuters/Nick Oxford The aftermath of Hurricane Harvey Soldiers with the Texas Army National Guard help the residents of Cyprus Creek Reuters The aftermath of Hurricane Harvey Residents wade through floodwater Reuters/Nick Oxford The aftermath of Hurricane Harvey Residents walk along the flooded roadway of Texas 249 as they evacuate their adjacent neighborhoods EPA The aftermath of Hurricane Harvey A man floats past a truck submerged on a freeway flooded by Tropical Storm Harvey on Sunday AP The aftermath of Hurricane Harvey People are rescued by airboat as they evacuate from flood waters from Hurricane Harvey in Dickinson, Texas Reuters The aftermath of Hurricane Harvey James Archiable carries his bike through the flooded intersection at Taylor and Usenet near downtown Houston, Texas EPA The aftermath of Hurricane Harvey A massive sinkhole opened up on a motorway in Rosenburg, a city 25 miles southwest of Houston, Texas Rosenberg Police The aftermath of Hurricane Harvey People are rescued from flood waters from Hurricane Harvey in an armored police mine-resistant ambush protected vehicle in Dickinson, Texas Reuters The aftermath of Hurricane Harvey People are rescued from flood waters from Hurricane Harvey on a boat in Dickinson, Texas Reuters The aftermath of Hurricane Harvey Evacuees are airlifted in a US Coast Guard helicopter after flooding due to Hurricane Harvey inundated neighborhoods in Houston, Texas Reuters The aftermath of Hurricane Harvey Evacuees leave a US Coast Guard helicopter after being rescued from flooding due to Hurricane Harvey in Houston, Texas Reuters The aftermath of Hurricane Harvey Residents look on at a submerged motorway during a break in the rain in Houston, Texas EPA The aftermath of Hurricane Harvey People photograph the submerged motorway interchange EPA The aftermath of Hurricane Harvey Debris lies on the ground after a building was destroyed by Hurricane Harvey in Aransas Pass, Texas AP The aftermath of Hurricane Harvey Dominic Dominguez searches for his boat in a boat storage facility that was heavily damaged by Hurricane Harvey near Rockport, Texas EPA

People also tweeted photographs of former presidents hugging victims of past hurricanes, including one of Mr Obama with his arms wrapped around a woman who had suffered as a result of Hurricane Sandy in 2012.

It appears that Mr Trump did not offer the same kind of solace to those reeling from Harvey as his predecessors.

Before the President's trip, social media users dug up Mr Trump’s old Twitter posts in which the former real estate magnate had written “Hurricane is good luck for Obama again- he will buy the election by handing out billions of dollars”.

“Not only giving out money, but Obama will be seen today standing in water and rain like he is a real President – don't fall for it,” Mr Trump warned.

Following the backlash he received during his Texas visit, Mr Trump tweeted on Wednesday morning: “After witnessing first hand the horror & devastation caused by Hurricane Harvey, my heart goes out even more so to the great people of Texas!”

“After reading the false reporting and even ferocious anger in some dying magazines, it makes me wonder, WHY? All I want to do is #MAGA!,” he said in another tweet.

Former President George W Bush was criticized for his delayed visit to the Gulf Coast following Hurricane Katrina, but when he did travel to the region, he met with storm victims.